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

Subject: Re: [xsl] variables/parameters in match of xsl:key, 'ends-with'
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Wed, 10 Jan 2001 11:04:35 +0000
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


Current Thread