[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] fn:contains multiple strings to compare with


Subject: [xsl] fn:contains multiple strings to compare with
From: "Szabo, Patrick (LNG-VIE)" <patrick.szabo@xxxxxxxxxxxxx>
Date: Mon, 3 Nov 2008 09:12:17 +0100

Hi,

I4m using XSLT 2.0 and Saxon 8.

Basicly i want to have something that does this:
contains('$d/ris:organ/text()', 'Hamburg' or 'Koblenz' or 'xxx'...) ===>
Compare 1 String with multpile strings.

instead of that: contains('$d/ris:organ/text()','Hamburg') or
contains('$d/ris:organ/text()','Koblenz')...

How do i do that ?! I cant figure out the correct syntax.

regards



Patrick Szabo
EPD / XSLT Konvertierung
Tel.: +43-1-534 52-1573
Fax.: +43-1-534 52-1573
patrick.szabo@xxxxxxxxxxxxx


Current Thread
Keywords