xsl-list
[Top] [All Lists]

Re: [XSLT2] setting context inside funcdefs

2003-02-15 03:28:17
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