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

Matching words in OR

Subject: Matching words in OR
From: "cruscio@xxxxxxxxx" cruscio@xxxxxxxxx
Date: Sun, 10 Dec 2006 18:35:01 +0100
 Matching words in OR
> Hi,
> this is part of my XML:
> 
> <xml>
>      <rowset:data>
>         <target:row attr1=3D'1' attr2=3D'900' attr3=3D'ABC' attr4=3D'TR=
EE-JOKER-BASEBALL-' />
>      </rowset:data>
> </xml>
> 
> In XSLT 1.0 need to create a regex to match values into attr4, so I nee=
d something "Perl" like attr4 =3D~/TREE|JOKER/ 
> 
> This is my query:
> /xml/rowset:data/target:row[(@attr4 =3D '/TREE|JOKER/')] but doesn't wo=
rk.
> 
> Can you please help?
> Thanks.
> Carlos
> 
> 
> 
> 
> ------------------------------------------------------
> Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom=

> http://click.libero.it/infostrada10dic06
> 
> =0A=0A=0A------------------------------------------------------=0APassa=
 a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom=0Ahttp=
://click.libero.it/infostrada10dic06=0A

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.