[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] How can one get the name of a template or function?


Subject: RE: [xsl] How can one get the name of a template or function?
From: Liam R E Quin <liam@xxxxxx>
Date: Thu, 28 Feb 2013 23:10:59 -0500

On Thu, 2013-02-28 at 19:50 -0800, John Laurence Poole wrote:
[...]

> What I would like to have is the ability to get
> the name of a template in instances where the
> template is invoked via the match mechanism:
> xsl:apply-templates.
[...]

> Maybe I'm barking up the wrong tree and the matching mechanism is not
> what I'm imagining?

You probably want the saxon mailing list... but this is a fairly unusual
question. For a template or XSLT function you could process the
stylesheet with XSLT to provide the information in a variable.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml


Current Thread
Keywords