Numeric Variables in XQuery

Dear All,

I have been attempting to write some XQuery examples and despite having read
the better part of the draft of XQuery 1.0 there were not any examples
regarding how to handle numeric values of nodes and attributes.  Apparently
the default data type for a numeric is integer and similarly for a numeric
literal.   I say this simply because the QuiP prototype of an XQuery
processor seems to work that way.  However whenever I tried to use a
floating point literal in the query, no dice.    Guidelines and examples of
using floating point values and  the CAST AS operator would also be helpful.

Thanks for any help in the matter,

Yours truly,

Elisha Berns

Received on Friday, 20 July 2001 17:39:36 UTC