xsl-list
[Top] [All Lists]

Re: [xsl] Matching words in OR

2006-12-11 06:18:58
"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




















        

        
                
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>