Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 178
Search took 1.20 seconds.
Search: Posts Made By: mpjbrennan
Forum: XML 03-29-2005, 08:12 PM
Replies: 4
Views: 1,561
Posted By mpjbrennan
Good news - MySQL is not Microsoft software. ...

Good news - MySQL is not Microsoft software.

http://www.mysql.com/

Patrick
Forum: XML 03-29-2005, 11:59 AM
Replies: 4
Views: 1,745
Posted By mpjbrennan
I have a VBscript sort demo on the following...

I have a VBscript sort demo on the following page:

http://www.patrick-brennan.com/vbscripts/league_table_vb.html


Patrick
Forum: XML 02-17-2005, 09:52 PM
Replies: 3
Views: 1,046
Posted By mpjbrennan
Is this what you want? Patrick XML fle ...

Is this what you want?

Patrick

XML fle
------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="test_xsl.xml"?>
<root>
<value>
Forum: XML 02-15-2005, 09:03 PM
Replies: 2
Views: 1,070
Posted By mpjbrennan
Claire, I played around with this sort of...

Claire,

I played around with this sort of thing at one point. Have a look at the following:

http://www.patrick-brennan.com/xml/league_table.xml

patrick
Forum: XML 02-06-2005, 07:01 PM
Replies: 3
Views: 1,314
Posted By mpjbrennan
Barbara, Just to show it can be done:- ...

Barbara,

Just to show it can be done:-
Here are an html file and an xsl file. Save the html file as .html, .xhtml and .xml. Save the xsl file as test_xsl.xml. Then view the three versions of the...
Forum: XML 02-05-2005, 08:33 AM
Replies: 3
Views: 1,314
Posted By mpjbrennan
If you mean controlling the display of text...

If you mean controlling the display of text client-side the answer is yes. Serve the file with an .xml suffix, and write templates for all the html elements contained within it. But why would you...
Forum: XML 02-01-2005, 10:46 PM
Replies: 2
Views: 1,178
Posted By mpjbrennan
Claire, One of the major weaknesses of XSLT...

Claire,

One of the major weaknesses of XSLT is that an xsl file has to be called from an xml file, rather than the other way round. Why this is so I have no idea, it would be so useful if one...
Forum: HTML & CSS 01-21-2005, 05:11 PM
Replies: 2
Views: 768
Posted By mpjbrennan
Try html {height:100%} in your stylesheet. ...

Try html {height:100%} in your stylesheet.

patrick
Forum: XML 01-20-2005, 11:19 AM
Replies: 2
Views: 1,203
Posted By mpjbrennan
Beware - Opera only implements css stylesheets...

Beware - Opera only implements css stylesheets for xml files. If you call an xsl stylesheet all you get is raw text. Also - have you used the correct coding for the $ symbol - I believe its $
...
Forum: XML 12-25-2004, 09:37 PM
Replies: 10
Views: 1,831
Posted By mpjbrennan
http://www.browseman.com/z.dll?m=features&m2=featu...

http://www.browseman.com/z.dll?m=features&m2=features_phtml

Patrick
Forum: XML 12-12-2004, 08:30 AM
Replies: 1
Views: 937
Posted By mpjbrennan
1. Instead of <xsl:apply-templates...

1. Instead of <xsl:apply-templates select="CHECKLIST"/> run it with <xsl:apply-templates select="*"/>, or give the full path to the element in the select statement - you can't just use the element...
Forum: XML 12-02-2004, 05:03 PM
Replies: 16
Views: 4,338
Posted By mpjbrennan
I think this is standard behaviour. I check all...

I think this is standard behaviour. I check all my pages in Internet Explorer 6.0 (68% of users) and Firefox 1.0 (20% of users use this or Mozilla which behaves the same). IE5 (5%) does not support...
Forum: XML 12-02-2004, 09:28 AM
Replies: 16
Views: 4,338
Posted By mpjbrennan
It's because you haven't written templates for...

It's because you haven't written templates for the <fieldname> and <value> elements. Your browser defaults to displaying their textual content. To make them disappear write templates for them which...
Forum: XML 11-26-2004, 04:51 PM
Replies: 16
Views: 4,338
Posted By mpjbrennan
<xsl:value-of select="." /> is shorthand for...

<xsl:value-of select="." /> is shorthand for <xsl:value-of select="node()" />.
<xsl:value-of select="text()" /> selects only the text attached to the node.

I can't recommend a tutorial - all the...
Forum: XML 11-26-2004, 01:19 PM
Replies: 16
Views: 4,338
Posted By mpjbrennan
Because the span element is within the title...

Because the span element is within the title element the the context node remains the title - so the call to <xsl:value-of select="." /> sweeps everything up. You can if you wish select the two...
Forum: XML 11-26-2004, 09:16 AM
Replies: 16
Views: 4,338
Posted By mpjbrennan
This is because the span is enclosed within the...

This is because the span is enclosed within the title tag.

BTW I posted an error in this part of the code; it should read

<xsl:template match="title">
<p class="{@class}">
...
Forum: XML 11-26-2004, 07:58 AM
Replies: 16
Views: 4,338
Posted By mpjbrennan
Hi Fou-Lu Is this what you want? ...

Hi Fou-Lu

Is this what you want?

Patrick

XML file
------------
<?xml version="1.0" encoding="ISO-8859-1" ?>
Forum: XML 11-24-2004, 03:59 PM
Replies: 3
Views: 2,578
Posted By mpjbrennan
DTD and XML documents are text, so you can view...

DTD and XML documents are text, so you can view them in any text editor. With regard to DTD's - if you are a novice I wouldn't worry about them too much at the beginning. As far as I know none of the...
Forum: XML 11-16-2004, 11:50 AM
Replies: 6
Views: 3,364
Posted By mpjbrennan
A quick search for "XML" on the Excel homepage at...

A quick search for "XML" on the Excel homepage at microsoft.com gives a lot of information on this subject.

patrick
Forum: XML 11-15-2004, 08:02 PM
Replies: 6
Views: 3,364
Posted By mpjbrennan
If you want Excel to display your webpage with...

If you want Excel to display your webpage with format identical to that rendered in a browser then I think you are out of luck - sorry!

patrick
Forum: XML 11-14-2004, 02:50 PM
Replies: 6
Views: 3,364
Posted By mpjbrennan
I'm not sure what you are intending exactly, but...

I'm not sure what you are intending exactly, but are you aware that Excel will open an XML file and display it according to its associated style sheet? You can then resave it as an Excel workbook -...
Forum: XML 11-14-2004, 01:55 PM
Replies: 1
Views: 2,125
Posted By mpjbrennan
The images show up fine in Mozilla Firefox 1.0. ...

The images show up fine in Mozilla Firefox 1.0.

patrick
Forum: XML 11-14-2004, 01:23 PM
Replies: 2
Views: 2,343
Posted By mpjbrennan
Use this stylesheet. I have added some styling to...

Use this stylesheet. I have added some styling to the output to make things more clear (I hope).

patrick

XSL file
--------------
<?xml version="1.0"?>

<xsl:stylesheet version="1.0"...
Forum: Post a JavaScript 10-27-2004, 08:35 AM
Replies: 10
Views: 2,228
Posted By mpjbrennan
HTML construction kit just sticks a load of tags...

HTML construction kit just sticks a load of tags on the page.

patrick
Forum: XML 10-13-2004, 05:10 PM
Replies: 4
Views: 2,115
Posted By mpjbrennan
Hi xiaodao 1. The <xsl:for-each> statement...

Hi xiaodao

1. The <xsl:for-each> statement cycles through all the <name> elements

2. Ignore the style="color:blue" in the <a> tag - it's just my favourite colour

3. The <xsl:attribute>...
Showing results 1 to 25 of 178

 
Forum Jump

All times are GMT +1. The time now is 09:13 AM.