Re: [xsl] Standards checkers for XSLT

Subject: Re: [xsl] Standards checkers for XSLT
From: "Joe Fawcett" <joefawcett@xxxxxxxxxxx>
Date: Mon, 27 Nov 2006 08:21:47 +0000
From: Kamal Bhatt <kbhatt@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Standards checkers for XSLT
Date: Mon, 27 Nov 2006 08:44:24 +1100


Also, here is another question. Does anyone have any standards for designing XML for XSLT? This is going to be an issue in my company some time in the future as we XMLise our documentation. I know that it is good practice to group values eg:

<Ford>...</Ford>
<Holden>...</Holden>
<Toyota>...</Toyota>

is less preferred to

<Manufacturers>
 <Ford>...</Ford>
 <Holden>...</Holden>
 <Toyota>...</Toyota>
</Manufacturers>

Any other tips?

Cheers.

--
Kamal Bhatt

Personally I don't like the second style much either, what happens when you get a manufacturer that has an awkward name, Rolls Royce, for instance. Better to have <manufacturer name="Rolls Royce"/>.
Much easier to select appropriately as well.


Joe

Current Thread