RE: Evaluating replace on string-replace

> Even there,
> 
> It is not clear to me that from *inside* the p:string-replace, the
> XPath evaluation can see the $opos variable
> 
> [[
> .6.1.2 Step XPath Context
> 
> When a step evaluates an XPath expression using XPath 1.0, it does so
> with the following initial context:
> 
> context node
> The document node that appears on the primary input port of the step,
> unless otherwise specified by the step.
> 
> context position and context size
> The position and size are both "1", unless otherwise 
> specified by the step.
> 
> variable bindings
> **** None, unless otherwise specified by the step. ****
> 
> ]]
> 

I think you are right, good catch.

Vojtech

Received on Tuesday, 4 November 2008 16:41:14 UTC