Search found 3 matches

by whanley
Thu Mar 30, 2017 8:26 pm
Forum: Common Problems
Topic: "your query returned an empty sequence"
Replies: 4
Views: 2423

Re: "your query returned an empty sequence"

Thanks, collection() was what I needed. I've got a lot to learn, but you've put me on the right track.
by whanley
Fri Mar 24, 2017 3:56 pm
Forum: Common Problems
Topic: "your query returned an empty sequence"
Replies: 4
Views: 2423

Re: "your query returned an empty sequence"

Thanks, Adrian. This is helpful. I guess I don't understand how namespaces work in XQuery, but *:head seems to work fine provisionally, as you suggested. What I'm trying to do is return various results from about 300 TEI/XML files in a github repository ("https://github.com/dig-eg-gaz/content&q...
by whanley
Thu Mar 23, 2017 6:22 pm
Forum: Common Problems
Topic: "your query returned an empty sequence"
Replies: 4
Views: 2423

"your query returned an empty sequence"

I'm an XQuery beginner. When I run a query like declare default element namespace "https://github.com/dig-eg-gaz/content"; for $a in doc("1905-01-06.xml") return $a//head I get this error message: "your query returned an empty sequence" When I run it as declare default ...