|
|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] Regular expressions in XSLT 2
Subject: [xsl] Regular expressions in XSLT 2
From: "tom tom" <tomxsllist@xxxxxxxxxxx>
Date: Wed, 06 Jun 2007 15:18:40 +0100
|
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?
Thanks
_________________________________________________________________
Play your part in making history - Email Britain!
http://www.emailbritain.co.uk/
|
| |
© 2002-2008 SyncRO Soft Ltd. All rights reserved.
| Sitemap | Privacy Policy This website was created & generated with
<oXygen/> XML Editor |
|
|