support for xs:date in XQuery

Hello,

Does XQuery support xs:date as a datatype? For example can we compare two dates (yyyy-mm-dd)? OR retrieve all the documents within a date range etc etc?

Thanks and regards,
Gopal.

Sorry! Answer found!