I found some information at,
http://en.wikipedia.org/wiki/Referential_transparency.
I agree to your observation ...
Thanks Colin.
On Nov 8, 2007 2:23 PM, Mukul Gandhi <gandhi(_dot_)mukul(_at_)gmail(_dot_)com>
wrote:
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(_at_)googlemail(_dot_)com> 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
--
Regards,
Mukul Gandhi
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--