W3C home > Mailing lists > Public > www-forms@w3.org > May 2006

Re: Actions changing the XPath context

From: Colin Paul Adams <colin@colina.demon.co.uk>
Date: 29 May 2006 17:57:17 +0100
To: Erik Bruchez <ebruchez@orbeon.com>
Cc: "'www-forms'" <www-forms@w3.org>
Message-ID: <m31wuckbv6.fsf@colina.demon.co.uk>

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:17 UTC