RE: More arbitrary sorting
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
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