|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Select all heading tags
2008/12/30 Graeme Kidd <coolkidd3@xxxxxxxxxxx>: > Hi > > I was wondering how I would be able to pick up headings from <sect> when I > don't know what heading numbers will be used. What would be nice is to > simply be able to say "select the tag which starts with a 'h' and ends in a > number". Any idea how you would do this? > > An example that obviously wont work is this: > XSL > ... > <xsl:apply-templates select="h*" /> > ... It could be: select="*[starts-with(local-name(), 'h')]" ...if that's sufficient, if not maybe use matches() with a suitable regex. cheers -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
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
|






