xsl-list
[Top] [All Lists]

RE: [xsl] Select all heading tags

2008-12-30 04:50:21
It could be:

select="*[starts-with(local-name(), 'h')]"

...if that's sufficient, if not maybe use matches() with a 
suitable regex.

or perhaps select="*['h9'=translate(local-name(), '123456789',
'999999999')]"

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>