Subject: Re: [xsl] Sorting with partial string From: Martin Gadbois <martin.gadbois@xxxxxxxxxxxx> Date: Fri, 27 Jan 2006 10:36:32 -0500 |
David Carlisle wrote: > <xsl:sort select="concat(substring-after(.,'no '),.)"/> > Wow! It's ugly, but it works! Took me some time to understand, here's the result string that is sorted: <cmd>abacus</cmd> -> abacus <cmd>no abacus</cmd> -> abacusno abacus ... Thank you David! You're a magician! -- ============== +----------------------------------------------+ 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. +----------------------------------------------+
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Sorting with partial stri, David Carlisle | Thread | Re: [xsl] Sorting with partial stri, David Carlisle |
[xsl] Keying over added attributes , Tim Lebo | Date | Re: [xsl] Keying over added attribu, David Carlisle |
Month |