Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] ATTRIBUTE ORDER


Subject: RE: [xsl] ATTRIBUTE ORDER
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 27 May 2006 15:59:06 +0100

> Each attribute will become a column in a table so I would 
> like to iterate over the attributes like:
> 
> 	<xsl:for-each select="@">...</xsl:for-each>
> 
> but, of course I need to rely on the attribute order.


If you know the names of the attributes, then the simplest solution is to
list them in the order you want to process them:

<xsl:for-each select="@qty_ship, @qty_order, @ship, @tray">
...</xsl:for-each>

Michael Kay
http://www.saxonica.com/


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor