[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Sorting with partial string


Subject: Re: [xsl] Sorting with partial string
From: Martin Gadbois <martin.gadbois@xxxxxxxxxxxx>
Date: Fri, 27 Jan 2006 16:21:06 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dimitre Novatchev wrote:
> Use:
> 
> <xsl:sort select=
> 	    "substring(.,1+3*boolean(substring-after(.,'no ')))"/>
> 

Nice approach... Thanks!

- --
==============         +----------------------------------------------+
Martin Gadbois         | "Windows might take you from 0 to 60 faster, |
S/W Developer          |  but to go to 100 you need Unix."            |
Colubris Networks Inc. +----------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD2o7C9Y3/iTTCEDkRAnWOAJ9ZSlZWZjc5kcPxScr5Fb6Hx3EJPwCdFUbL
dxdfqNbajGwiILaCG70S6c8=
=VHtS
-----END PGP SIGNATURE-----


Current Thread