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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Migration from XSLT1.0 to, Michael Kay | Thread | RE: [xsl] Sort by calculated value, Michael Kay |
Re: [xsl] Sort before paging, Giancarlo Rossi | Date | Re: [xsl] Sort before paging, Alexander Johannesen |
Month |