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

Regular expressions in XSLT 2

Subject: Regular expressions in XSLT 2
From: "tom tom" <tomxsllist@xxxxxxxxxxx>
Date: Wed, 06 Jun 2007 15:18:40 +0100
 Regular expressions in XSLT 2
I need to create a key that matches on any <t/> element and uses a substring that exists within an xml:id attribute after the first '_' and before the final group of numbers. For example

<t xml:id="tr_165_promo3650"/>

Would be held in the key

<xsl:key name="O" match="//t" use="{?????????????}"/>

and referenced with

key('O', '165_promo')

Can anyone advise on the best way to do this in XSLT 2?


Play your part in making history - Email Britain! http://www.emailbritain.co.uk/

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.