|
Re: Why my Xquery always return an empty set?: msg#00088text.xml.exist
On Sunday 12 September 2004 14:46, lxiscas wrote: > I tried to execute Xquery following the style that in basic Xquery > samples, however, no matter I tried to execute the Xquery for my > XML file, or Xquery samples in basic Xquery section from web page, > both of them return an empty set, What is problem for my Xquery? > Previously I execute the Xquery for another XML file, and it looked > OK. > > Thanks. > > Sam > > > for $StillRegion in /Mpeg7//StillRegion[Text&='tree'] This will select all the StillRegions whose Text children contain the text 'tree'. However, I don't see any matching StillRegions in your example document. If you turn this into for $StillRegion in /Mpeg7//StillRegion[Text&='Sea'] you should get one result with the supplied sample. Also make sure that the context collection of your query actually contains the documents you mean to search. HTH Sebastian ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | eXist new stable version ?: 00088, Nolwen Huet |
|---|---|
| Next by Date: | RE: Debian eXist startup error: 00088, Olaf Greve |
| Previous by Thread: | Why my Xquery always return an empty set?i: 00088, lxiscas |
| Next by Thread: | Re: Why my Xquery always return an empty set?: 00088, Wolfgang Meier |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |