xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[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/


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor