This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]