W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2001

Section 1.4: Differences between context item and context node.

From: Diamond, Jason <Jason.Diamond@MKG.com>
Date: Thu, 20 Dec 2001 16:48:55 -0500 (EST)
Message-ID: <FAFF4FA792D9D211B1B20008C7B16197048B7E1F@carlsb1elm1.global1.mkg.com>
To: "'xsl-editors@w3.org'" <xsl-editors@w3.org>
Why make the distinction between the context item and context node? The
context item says that it can be a node. Are the things returned by . and
self::node() different things when the context item is a node or are the the
same thing?

In the definition of context node, you say that if the context item is a
simple value then the context node returns an empty sequence. You then say
that self::node() retuns the context node. Shouldn't it return a sequence
containing just the context node in order to be consistent?

Jason Diamond.
Received on Wednesday, 26 December 2001 12:50:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:22 UTC