Re: [xsl] Accessing context from xsl:function body

Subject: Re: [xsl] Accessing context from xsl:function body
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Thu, 8 Nov 2007 14:23:57 +0530
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

Current Thread