W3C home > Mailing lists > Public > public-forms@w3.org > April 2012

Re: A node and its children

From: Nick Van den Bleeken <Nick.Van.den.Bleeken@inventivegroup.com>
Date: Wed, 18 Apr 2012 14:25:30 +0000
To: John Boyer <boyerj@ca.ibm.com>
CC: Steven Pemberton <Steven.Pemberton@cwi.nl>, Forms WG <public-forms@w3.org>
Message-ID: <C7B22D3C-EA13-4F9B-A905-590C392FFFF8@inventivegroup.com>
Just for your information: The relevant bit in the spec states that "An attribute node may have an element node as its parent, even though the attribute node is not a child of the element node."

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71


On 18 Apr 2012, at 15:36, John Boyer wrote:

Hi Steven,

Yes, it is different in two ways.

First, it would be all descendants, not children.

Second, and more more important, the attributes of the node and all its descendants are not children of their containing element. But the elements are all ancestors (parents, in fact) of their attributes.

John M. Boyer, Ph.D.
Distinguished Engineer, IBM Forms and Smarter Web Applications
IBM Canada Software Lab, Victoria
E-Mail: boyerj@ca.ibm.com<mailto:boyerj@ca.ibm.com>

Twitter: http://twitter.com/johnboyerphd
Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer
Blog RSS feed: http://www.ibm.com/developerworks/blogs/rss/JohnBoyer?flavor=rssdw

From:        "Steven Pemberton" <Steven.Pemberton@cwi.nl<mailto:Steven.Pemberton@cwi.nl>>
To:        "Forms WG" <public-forms@w3.org<mailto:public-forms@w3.org>>
Date:        18/04/2012 03:02 AM
Subject:        A node and its children



"The indicated node and all nodes for which it is an ancestor are

Is this different to

"The indicated node and its children are selected."



This message has been scanned for viruses and
dangerous content by MailScanner<http://www.mailscanner.info/>, and is
believed to be clean.


Inventive Designers' Email Disclaimer:

(image/png attachment: image001.png)

(image/png attachment: image002.png)

(image/png attachment: image003.png)

Received on Wednesday, 18 April 2012 14:30:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:14:06 UTC