RE: [xsl] Select all heading tags

Subject: RE: [xsl] Select all heading tags
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 30 Dec 2008 09:49:52 -0000
> 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/

Current Thread