Re: [xml-dev] Is an XQuery Document an XML Document?

From
Sergio J. Rodriguez M. <>
To
"Roger L. Costello" <>,
Date
2004-11-28T16:46:55Z
ID
<>
Thread
Re: [xml-dev] Is an XQuery Document an XML Document?
Hi, Roger.
 
  I'm no expert on this field (XQuery), but AFAIK there is no such thing like "XQuery document": XQuery is an expression and functional language, who evaluate expressions.  For example:
 
3 + 5
 
  Is a full XQuery expression that an XQuery parser can evaluate.  In fact, a "XQuery document" is a XQuery expression that may consist of other expressions.
 
  A XQuery expression may evaluate to an XML document (well-formed of course), but still, it can evaluate just to a chunk of bytes (string)...
 
  Anyway, your point of view is very interesting.
 
Regards,
 
Sergio Rodríguez.

"Roger L. Costello" <[email protected]> wrote: