xsl-list
[Top] [All Lists]

Re: Concatenating a nodeset (set of attributes)

2005-10-08 13:39:20
The depth of the STRUC elements is arbitrary.

If you know there is a resonable limit to the recusion depth you could do the 
following:

<xsl:sort select="number(concat(@pos, '.', STRUCT/@pos, STRUCT/STRUCT/@pos, STRUCT/STRUCT/STRUCT/@pos, ...)" data-type="number" />

Otherwise I would suggest a multistep process or refering to extensions..

HTH,
Geert

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