I'm struggling a bit with XQuery especially in terms of collections.How would one take q query like
for $x in doc('src/main/resources/xml/input.xml')//li return data($x)
and apply it to a database with a collection of documents? What I'm after is something like:
for $x in doc(*)//li return data($x)
Also how are namespaces referenced/specified in queries?
Finally if anyone as any good XQuery resources would appreciate if if you could pass them along...