xsl-list
[Top] [All Lists]

Re: [xsl] XML Elements to XML Attributes

2007-01-14 17:27:58
On 1/14/07, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:
Using a for-each and testing position() seems clumsy, compared with explicit
indexing.

What's wrong with

nothing simply that I started XSLT last week ;)

<entry tag="{td[1]}" attribute="{td[2]}" type="{td[3]}"
description="{td[4]}"/>

love that ! w3schools did not have such example.

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

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>