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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:52 GMT