[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Confused using a loop...
Austin, Darrel wrote:
The problem is that my result isn't sorted. To learn how xsl:sort works, I suggest you use xsl:value-of right after the statement that should be doing the sorting: <xsl:sort select="some/Xpath"> <sort-by> <xsl:value-of select="some/Xpath"> </sort-by> The select of xsl:sort is relative to the context item. If <sort-by> in the output does not contain anything, your xpath is wrong and that is why sort 'does not work'. On 'how sort works': it takes the string-normalized value of the nodes you select in xsl:sort and uses that to sort by. Cheers, -- Abel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|