Re: [xsl] Concatenating a nodeset (set of attributes)

Subject: Re: [xsl] Concatenating a nodeset (set of attributes)
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Sat, 08 Oct 2005 22:39:20 +0200
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

Current Thread