This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]