xsl-list
[Top] [All Lists]

Re: Sorting values that contain spaces

2005-07-21 12:33:42
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(_at_)nag(_dot_)co(_dot_)uk> 
07/21/2005 01:55 PM
Please respond to
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com


To
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--