Re: Single Item Binding vs Single Node Binding

> On Oct 27, 2016, at 3:45 PM, Steven Pemberton <steven.pemberton@cwi.nl> wrote:
> 
> 
> The text uses both "Single Item Binding" and "Single Node Binding".
> 
> Is there a difference?

I have no opinion on whether there is or should be, in XForms.

But it may be relevant to reflect that in XPath 2.0 and 3.0, the
term “item” is used for a thing which is or can be either a node
in an XML document (or document fragment) or a value of a
simple type.  (An element is always a node, and an integer is 
always a value; a function which can accept either an element
or an integer as its argument will declare the parameter as
having type item().)

So using “item” to mean just “node” is likely to confuse some 
readers, if they are coming from the current generations of
XPath, XSLT, and/or Query.


********************************************
C. M. Sperberg-McQueen
Black Mesa Technologies LLC
cmsmcq@blackmesatech.com
http://www.blackmesatech.com
********************************************

Received on Thursday, 27 October 2016 22:27:31 UTC