Subject: RE: More arbitrary sorting From: Kay Michael <Michael.Kay@xxxxxxx> Date: Mon, 7 Aug 2000 10:25:55 +0100 |
I think this kind of sorting is almost impossible without using extensions functions (which aren't hard to use, though non-portable). This is because the sort key has to be an XPath expression, and XPath expressions don't allow conditional logic. Mike Kay > I have some data: > <item>MacBean</item> > <item>McBarlow</item> > <item>Re MacBart</item> > <item>Re McBeanie</item> > > Which needs to be sorted and transformed as follows: > <item>McBarlow</item> > <item>Re McBart</item> > <item>MacBean</item> > <item>Re McBeanie</item> > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
More arbitrary sorting, Matthew Bentley | Thread | xsml:param revelation, Richard Lander |
RE: sort, Kay Michael | Date | RE: key(). ( Re: Saxon VS XT ), Kay Michael |
Month |