[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XML Elements to XML Attributes

Subject: Re: XML Elements to XML Attributes
From: "Mathieu Malaterre" <mathieu.malaterre@xxxxxxxxx>
Date: Sun, 14 Jan 2007 19:27:42 -0500
Re:  XML Elements to XML Attributes
On 1/14/07, Michael Kay <mike@xxxxxxxxxxxx> 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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.