[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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? Thanks _________________________________________________________________ Play your part in making history - Email Britain! http://www.emailbritain.co.uk/
|
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
|