[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] fn:contains multiple strings to compare with
Subject: Re: [xsl] 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/
|