Re: Concatenating a nodeset (set of attributes)
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..
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format