Re: A node and its children

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 

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>
To:     "Forms WG" <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

Received on Wednesday, 18 April 2012 13:38:03 UTC