xsl-list
[Top] [All Lists]

Re: [xsl] Standards checkers for XSLT

2006-11-27 01:22:12
From: Kamal Bhatt <kbhatt(_at_)tt(_dot_)com(_dot_)au>
Reply-To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--