Subject: Re: [xsl] XML Elements to XML Attributes From: "Mathieu Malaterre" <mathieu.malaterre@xxxxxxxxx> Date: Sun, 14 Jan 2007 19:27:42 -0500 |
Using a for-each and testing position() seems clumsy, compared with explicit indexing.
What's wrong with
<entry tag="{td[1]}" attribute="{td[2]}" type="{td[3]}" description="{td[4]}"/>
Not coming from a C/C++ world, I can't see why you would want to use variables.
Ordered XSLT Cookbook yesterday, so I'l dive into more advance examples than just the xsl:for-each and xsl:variable example I read so far...
thanks, -M
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XML Elements to XML Attri, Michael Kay | Thread | RE: [xsl] XML Elements to XML Attri, Michael Kay |
Re: [xsl] Prevent compilation error, Florent Georges | Date | Re: [xsl] Prevent compilation error, Florent Georges |
Month |