Re: [xsl] Sorting values that contain spaces

Subject: Re: [xsl] Sorting values that contain spaces
From: JBryant@xxxxxxxxx
Date: Thu, 21 Jul 2005 14:33:42 -0500
Bingo.

Many thanks, sir.

I think I'll write my own collation class anyway, but now it'll be a 
no-stress exercise to increase my understanding of Java and Saxon, rather 
than a gotta-do-it-right-now-for-a-client task.

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




David Carlisle <davidc@xxxxxxxxx> 
07/21/2005 01:55 PM
Please respond to
xsl-list@xxxxxxxxxxxxxxxxxxxxxx


To
xsl-list@xxxxxxxxxxxxxxxxxxxxxx
cc

Subject
Re: [xsl] Sorting values that contain spaces







> Lazy bum that I am, I was hoping for a method that wouldn't require a 
Java 

If you find some character that is sorteded before "a" eg "@" thenyou
can do

<xsl:sort select="translate(@name,' ','@')

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. 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
________________________________________________________________________

Current Thread