RE: [xsl] Call context within a named xsl:template

Subject: RE: [xsl] Call context within a named xsl:template
From: Jeff Beadle <Jbeadle@xxxxxxxx>
Date: Tue, 13 Nov 2001 13:09:26 -0500
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@xxxxxxxxxxxx]
Sent: Tuesday, November 13, 2001 1:06 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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


Current Thread