[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
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
|