Re: [xsl] order of UNIONs

Subject: Re: [xsl] order of UNIONs
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Wed, 14 Nov 2001 18:11:37 +0000
No, it isn't. But you can often re-order it when processing the
variable, for example 

<xsl:for-each select="$test">
	<xsl:sort/>
		...
</xsl:for-each>

or

<xsl:apply-templates select="$test">
	<xsl:sort/>
</xsl:apply-templates>

Francis.

Jörg Heinicke wrote:
> 
> Hello,
> 
> is it possible to influence the order of a node-set UNION like the following
> one:
> 
> <xsl:variable name="test" select="group[21]|group[22]|group[1]|group[2]"/>
> 
> For the further processing the order '21', '22', '1', '2' is important, so I
> want the <group>s in this order and not in document-order (I get '1', '2',
> '21', '22'). Another possibility would be using a RTF, but is it possible
> without RTF?
> 
> Joerg
> 
> --
> 
> System Development
> VIRBUS AG
> Fon +49(0)341-979-7435
> Fax +49(0)341-979-7409
> joerg.heinicke@xxxxxxxxx
> www.virbus.de
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread