[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: sort order - short word before longer word??
> I got a sorting problem, I try to sort some entries alphabetically, > > the problem is, when I have these two entries > > <word>Ank|ndigungsabgabe</word> > <word>Ank|ndigungsabgabenpflicht</word> > > Transforming with <xsl:sort select="." order="ascending" > data-type="text" /> > > I get the second one first, and can't figure it out how to > get the shorter one first. Actually I am expecting the > shorter one should be the first in the result. > > Using saxon8.2 I get the shorter one first, as expected. Post how you are performing the sort - within xsl:for-each or xsl:apply-templates, with some sample input. cheers andrew
|
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
|