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

Re: [xsl] Sorting with partial string


Subject: Re: [xsl] Sorting with partial string
From: Tim Lebo <timleboxslt@xxxxxxxxx>
Date: Fri, 27 Jan 2006 16:50:40 -0500

Would this break with:

<list>
<cmd>pianoman</cmd>
<cmd>no pianoman</cmd>
</list>

i.e. the non-no component contains a substring "no"

-Tim Lebo

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


Current Thread