[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] sort order - short word before longer word??
Subject: RE: [xsl] sort order - short word before longer word?? From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx> Date: Mon, 14 Mar 2005 17:09:03 -0000 |
> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] sort order - short word befor, Klocker Christoph | Thread | [xsl] Error Handling, Anthony M. Gaudio |
[xsl] Sequences in XSLT 2.0.., Midsummer Sun | Date | Re: [xsl] Sort order - dynamic sele, Joe Fawcett |
Month |