This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: order of UNIONs
- From: Francis Norton <francis at redrice dot com>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Wed, 14 Nov 2001 18:11:37 +0000
- Subject: Re: [xsl] order of UNIONs
- References: <3BF2CB6F.3090300@gmx.de>
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@virbus.de
> 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