Re: [xsl] variables/parameters in match of xsl:key, 'ends-with'

Subject: Re: [xsl] variables/parameters in match of xsl:key, 'ends-with'
From: "Nikolai Grigoriev" <grig@xxxxxxxxxxx>
Date: Wed, 10 Jan 2001 12:15:49 +0300
> Hmm... I wonder if:
>
>   contains(source, find) and not(substring-after(source, find))
>
> would be any faster? Which way round the two tests should go (contains
> first or substring-after first) probably depends on the XML source -
> you might try both.

Except that it fill fail whenever 'find' is also present in the middle of
the 'source' - you cannot force substring-after() to look for the last
occurrence.

Regards,
Nikolai Grigoriev

RenderX


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread