xsl-list
[Top] [All Lists]

[xsl] fn:contains multiple strings to compare with

2008-11-03 03:12:46
Hi, 
 
I´m 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(_dot_)szabo(_at_)lexisnexis(_dot_)at






--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--