This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Call context within a named xsl:template


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]