[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Accessing context from xsl:function body
Hi Colin, What exactly do you mean by 'referential transparency'? I guess, the named template in XSLT 2.0 is able to access the context, for backward compatibility reason. Is it true..? On Nov 8, 2007 2:06 PM, Colin Adams <colinpauladams@xxxxxxxxxxxxxx> wrote: > If a function could access the context, then it could also change it. > hen referential transparency would be lost. > > If you need particular pieces of information from the context (such as > the position, or item), then you could pass them to the function as > paramters. -- Regards, Mukul Gandhi
|
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
|