- From: Klotz, Leigh <Leigh.Klotz@xerox.com>
- Date: Wed, 18 Apr 2007 10:45:24 -0700
- To: "Ivan Latysh" <IvanLatysh@yahoo.ca>, "Erik Bruchez" <ebruchez@orbeon.com>
- Cc: <www-forms@w3.org>
Please, either keep this on the list or send a note saying you can live with the explanation we've given so far. Thanks! Leigh. -----Original Message----- From: www-forms-request@w3.org [mailto:www-forms-request@w3.org] On Behalf Of Ivan Latysh Sent: Wednesday, April 18, 2007 7:24 AM To: Erik Bruchez Cc: www-forms@w3.org Subject: Re[2]: <repeat/> Element 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 17:46:03 UTC