xsl-list
[Top] [All Lists]

RE: [xsl] Sort by calculated value

2006-08-30 00:07:22

I tryed how you advice me..

It works changing the sort priority.

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

.....

Thanks a lot.







--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>