This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Call context within a named xsl:template
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Call context within a named xsl:template
- From: Jeff Beadle <Jbeadle at manh dot com>
- Date: Tue, 13 Nov 2001 13:09:26 -0500
- Reply-to: xsl-list at lists dot mulberrytech dot com
that's what I thought. If my template was executed by pattern then I
could--in most cases--resolve my 'caller', however my delima is when I'm
being called by another xsl element via call-template. I would think that'd
be possible, maybe by a parser extension, that one might be able to reach up
into the stylesheet tree.
The feature I ask for is similar to Thread Local Storage or to context aware
paradigms like MTS/COM+.
thanks anyway!
-----Original Message-----
From: Michael Kay [mailto:michael.h.kay@ntlworld.com]
Sent: Tuesday, November 13, 2001 1:06 PM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] Call context within a named xsl:template
> Let's say I'm an xsl:template, who is called by name--not by
> pattern. Is
> there anyway I can determine who called me?
>
No.
(It's surprising how often people ask for features in XSLT that I've never
come across in any other programming language...)
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list