*It would be interesting to know how Saxon implements
this behaviour..* if M. Kay will be kind to answer..
He probably will but...
<recordset name="">
<row ReturnValue="0" Store_ID="7" Location="WA4135" />
<row ReturnValue="0" Store_ID="5" Location="wA4131" />
<row ReturnValue="0" Store_ID="6" Location="WA4133" />
<row ReturnValue="0" Store_ID="8" Location="wA4136" />
<row ReturnValue="0" Store_ID="9" Location="WA4136" />
<row ReturnValue="0" Store_ID="10" Location="WA4138" />
<row ReturnValue="0" Store_ID="11" Location="WA4139" />
</recordset>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
<xsl:template match="recordset">
<xsl:for-each select="row">
<xsl:sort select="@Location"
data-type="text" order="ascending" case-order="upper-first"/>
<xsl:text> </xsl:text>
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
$ saxon sort.xml sort.xsl
<?xml version="1.0" encoding="utf-8"?>
<row ReturnValue="0" Store_ID="5" Location="wA4131"/>
<row ReturnValue="0" Store_ID="6" Location="WA4133"/>
<row ReturnValue="0" Store_ID="7" Location="WA4135"/>
<row ReturnValue="0" Store_ID="9" Location="WA4136"/>
<row ReturnValue="0" Store_ID="8" Location="wA4136"/>
<row ReturnValue="0" Store_ID="10" Location="WA4138"/>
<row ReturnValue="0" Store_ID="11" Location="WA4139"/>
ie it gets the same result as reported for other processors.
I _still_ claim this is a bug though.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list