Oxygen XML Editor
 
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Sort by calculated value


Subject: [xsl] Sort by calculated value
From: "Giancarlo Rossi" <giancarlo_rossi@xxxxxxxxxx>
Date: Tue, 29 Aug 2006 15:19:58 +0200

I'm trying to sort using a calculated value Process MSXML Xsl 1.0


For. E.g

<xsl:for-each
select="/CommandList/CheckRouting/RouterList/Router/GroupList/Group/OutwardL
ist/Outward" > <xsl:sort select="Price/Amount" data-type="number"
order="ascending" /> <xsl:sort
select="count(//Outward[Id=Id]/SegmentList/Segment)" data-type="number"
order="ascending" />

'my code
</xsl:for-each>

But the second sort is not respected.

Infact the "segment" could be 1 or 2..

Id is the Id of the outward

http://www.lastminutesud.it/test/last_mad_lgw.xml

I hope you could help me.


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor
Keywords
xsl