Hi,
I'm concerned with retrieval of typed data,
especially date information. The only way to store typed data is
through the use of a schema right? I can't specify the type of data on
a per element basis, correct?
ie. <person> <birthday xs:date>01-01-1970</birthday></person>
As well, I noticed the below query in the use case examples:
let $item := doc("items.xml")//item_tuple
[end_date >= xs:date("1999-03-01")
and
end_date <= xs:date("1999-03-31")]
return
<item_count>
{
count($item)
}
</item_count>
Is there a schema behind the loaded data or are the examples un-type
safe? Doesn't converting the data to the type that you are interested
in pose a performance issue?
Thank you,
Mark
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general