[xquery-talk] items as nodes or atomic values

David Carlisle davidc at nag.co.uk
Tue May 8 00:46:48 PDT 2007

> Do I understand this correctly?


> the result of the @x expression is (first) a node whose

yes but, for example, the other operand of the = in Michael's example is 
('apple', 'pear', 'orange')) 
which is a sequence of strings (which has no analogue in XPath 1, which
only has individual atomic vaues, and node sets, and no way to
constructs sets or sequences of atomic values).

It's possible (and sometimes even useful) to have XQuery programs that
use nodes at all.


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

More information about the talk mailing list