[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: fn:contains multiple strings to compare with
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 3 Nov 2008 16:21:09 +0100 (CET)
Andrew Welch wrote:

> <xsl:if test="some $x in ('Hamburg', 'Koblenz', 'xxx') satisfies
> contains($d/ris:organ/text(), $x)">

  And the OP almost certainly wants the following instead:

    some $x in ('Hamburg', 'Koblenz', 'xxx') satisfies
      contains($d/ris:organ, $x)

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member