[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: order of UNIONs

Subject: Re: order of UNIONs
From: Francis Norton <francis@xxxxxxxxxxx>
Date: Wed, 14 Nov 2001 18:11:37 +0000
Re:  order of UNIONs
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.