Re: A node and its children

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
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com


[cid:image001.png@01CBF2F8.1DA19110][cid:image002.png@01CBF2F8.1DA19110][cid:image003.png@01CBF2F8.1DA19110]

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.

Cheers,
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
________________________________



http://www.w3.org/MarkUp/Forms/wiki/XForms_2.0#The_xforms-submit_Event

says

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

Is this different to

"The indicated node and its children are selected."

?

Steven



--
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:
http://www.inventivedesigners.com/email-disclaimer

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