Re: match multiple values for an attribute
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 ___________________________________________________________________________ Dicouvrez un nouveau moyen de poser toutes vos questions quelque soit le sujet ! Yahoo! Questions/Riponses pour partager vos connaissances, vos opinions et vos expiriences. http://fr.answers.yahoo.com
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format