Re: [xsl] Matching words in OR

Subject: Re: [xsl] Matching words in OR
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Mon, 11 Dec 2006 14:18:27 +0100 (CET)
"J.Pietschmann" wrote:

  Hi

> XSLT 1.0 doesn't use regular expressions (why do you think it does?)
> You have to decompose your requirement into available XPath
> functions, in your case
>   /xml/rowset:data/target:row[contains(@attr4,'TREE') or
>     contains(@attr4,'JOKER']

  Yes.  In this case, it is possible to use contains() instead.  But if
the real problem is more complex and requires regexs, the OP can maybe
use a processor that supports EXSLT's regexs, or use XSLT 2.0.

  Regards,

--drkm




















	

	
		
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com

Current Thread