Re: Actions changing the XPath context

>>>>> "Erik" == Erik Bruchez <ebruchez@orbeon.com> writes:

    Erik> is support for this in any spec. XPath 2.0 mentions in a
    Erik> couple of places what happens when the context item is
    Erik> "undefined", but does not seem to say how this can arise.

Well, that can depend strongly on the host language.

For instance, in XSLT 2.0, an xsl:function starts with no context
item. And the transformation itself can start with no context item, if an
initial template is given, and no context node.
-- 
Colin Adams
Preston Lancashire

Received on Monday, 29 May 2006 16:57:22 UTC