This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: variables/parameters in match of xsl:key, 'ends-with'
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] variables/parameters in match of xsl:key, 'ends-with'
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Wed, 10 Jan 2001 11:04:35 +0000
- Organization: Jeni Tennison Consulting Ltd
- References: <9008AF5250E3D411AE57009027CA88E30FCE79@WWMESSD048>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Mike and Nikolai point out that:
>> contains(source, find) and not(substring-after(source, find))
don't work. I was obviously half asleep. Something like:
<xsl:variable name="unique-string" select="'---uniqueString---'" />
string(find) and
not(substring-after(concat(source, $unique-string),
concat(find, $unique-string)))
might, but it's getting just a bit idiotic.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list