I'm trying to run a query in the GUI but get stuck upon running it upon
a child collection.
If I run this on the following document (cities) in the <standalone>
collection:
for $x in doc("cities")/Locations/Country/City return ($x/@Name,
$x/../@Name)
I get the results. On the other hand, if I want to run it on the file
"cities" (a different one that is) in the collection "static_data" then
I get the following error:
for $x in doc("static_data/cities")/Locations/Country/City return
($x/@Name, $x/../@Name)
2008/10/01 00:41:31 initiating XQuery
2008/10/01 00:41:31 database query/update failed (SEDNA Message: ERROR
FODC0002
Error retrieving resource.
Details: Document 'static_data/cities'
)
I've tried for $x in doc("static_data/cities") and for $x in
doc("/static_data/cities") - can anyone tell me what is wrong with this?
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion