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