W3C home > Mailing lists > Public > www-forms@w3.org > April 2007

Re[2]: <repeat/> Element

From: Ivan Latysh <IvanLatysh@yahoo.ca>
Date: Wed, 18 Apr 2007 10:24:11 -0400
Message-ID: <277569145.20070418102411@yahoo.ca>
To: Erik Bruchez <ebruchez@orbeon.com>
CC: www-forms@w3.org

Hello Erik,

Tuesday, April 17, 2007, 11:14:33 PM, you wrote:

>>> 1) Please read the XPath data model again.  The document element (color in your example below) has a parent.
>>> It's just not an element.
>> "Every node other than the root node has exactly one parent" ...

> Ivan, you are mixing-up "document element" and "root node". See the 
> following in the XPath spec (emphasis mine):

> "The root node is the root of the tree. A root node does not occur 
> except as the root of the tree. *The element node for the document 
> element is a child of the root node*. The root node also has as children 
> processing instruction and comment nodes for processing instructions and 
> comments that occur in the prolog and after the end of the document 
> element."

> The root node of a document is not an *element* node, it is a *document* 
> node, which itself has an element child, called the document element.

> -Erik

Thank you,
I belive it is the time to take this topic off-line, since it is out of the scope of the mailing list.

-- 
Best regards,
 Ivan                            mailto:IvanLatysh@yahoo.ca
Received on Wednesday, 18 April 2007 14:28:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:09 GMT