xsl-list
[Top] [All Lists]

RE: [xsl] ATTRIBUTE ORDER

2006-05-27 07:59:20
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/


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