xsl-list
[Top] [All Lists]

[xsl] order as defined in the sequence

2007-05-23 05:52:54
Dear Community

Is there any possibility to set the order of the selected nodes as defined
in the sequence. I.E.

<xsl:for-each select="/node[(_at_)class = ('z', 'a', 'b')]">

I would like to process the nodes exactly as defined in the sequence z-a-b,
that means:
1) node[(_at_)class eq 'z']
2) node[(_at_)class eq 'a']
3) node[(_at_)class eq 'b']

Or do I have to use 3 <xsl:apply-templates/>.

For your support many thanks in advance ... Raffaele

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