[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: match multiple values for an attribute

Subject: Re: match multiple values for an attribute
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Wed, 30 Aug 2006 11:04:32 +0200 (CEST)
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.



 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. 

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.