|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: [XSLT2] setting context inside funcdefs
Hi Michael,
Michael Kay 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?You should pass all the information the function needs (unless it's available as a global variable) in the arguments to the function call. Francis. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart


![Re: [XSLT2] setting context inside funcdefs](/images/get_stylus.gif)





