xsl-list
[Top] [All Lists]

Re: [xsl] match multiple values for an attribute

2006-08-30 02:04:48
Jeff Sese wrote:

I did solve the problem, however, using a different
approach. I'm using XSLT 2.0 so I just used the matches
function using a regular expression: matches(@style,
'font-family: (font1|font2)') I converted the $fonts into
a string separated by the '|' operator.

  I guess it is the way I'd do it, too.

  BTW, it is usefull to precise in your post either you use
XSLT 1.0 or 2.0.  It prevents to get response for the wrong
version, and saves time to people that respond.

  Regards,

--drkm























        
 p2.vert.ukl.yahoo.com uncompressed/chunked Wed Aug 30 08:13:40 GMT 2006 
        
                
___________________________________________________________________________ 
Découvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet 
! 
Yahoo! Questions/Réponses pour partager vos connaissances, vos opinions et vos 
expériences. 
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>