Re: [xsl] [XSLT2] setting context inside funcdefs

Subject: Re: [xsl] [XSLT2] setting context inside funcdefs
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Sat, 15 Feb 2003 11:28:17 +0100
Francis Norton wrote:


That's a persuasive agument but the idea of having to create an explicit context parameter for every function that needs context is still pretty ugly. Was any thought given to an alternative such as giving xsl:function a third attribute, copyContext="<boolean>", with a default of "false"? And would it be a technically satisfactory solution?


... or perhaps focus="caller". No matter what the exact name and value would be; it would be quite handy to have the full context of the function call available: context node, params, etc.


Tobi


--
http://www.pinkjuice.com/


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread