>>>>> "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