[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: variables/parameters in match of xsl:key, 'ends-wi

Subject: Re: variables/parameters in match of xsl:key, 'ends-with'
From: "Nikolai Grigoriev" <grig@xxxxxxxxxxx>
Date: Wed, 10 Jan 2001 12:15:49 +0300
Re:  variables/parameters in match of xsl:key
> 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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.