From: Oystein R. <oys...@ak...> - 2006-12-01 09:54:20
|
Eve, > Hello, > > > > I have created a collection /db/nrssbycp and I have put some documents > in it. > > I don't manage to do a request in it. > > The structure of my documents is: > <nrss> > <channel> > <title>blabla</title> > </channel> > <nrss> > > And my query is: collection("/db/nrssbycp")/nrss/channel/title > I tried to execute it from the graphical interface and from the shell > and there is no answer. I also tried with fn:collection. > As the query is rendered in your mail the quotes are wrong. They should both be straight ". But I assume they were right when you tried the query, because else you would have got an error message. (((And the end tag in the data should be </nrss>, not <nrss>.))) Your query will fail if <nrss> is not the root element of your documents, or you put your documents in a subcollection of /db/nrssbycp. - Øystein - > Please can somebody help me? > > Thanks > > Eve > > > > > > *********************************************************************************** > Information contained in this email message is confidential and may be > privileged, and is intended only for use of the individual or entity > named above. If the reader of this message is not the intended > recipient, or the employee or agent responsible to deliver it to the > intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. > If you have received this communication in error, please immediately > notify the pos...@nd... and destroy the original message. > *********************************************************************************** > > >------------------------------------------------------------------------ > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >------------------------------------------------------------------------ > >_______________________________________________ >Exist-open mailing list >Exi...@li... >https://lists.sourceforge.net/lists/listinfo/exist-open > > -- Øystein Reigem, The department of culture, language and information technology (Aksis), Allegt 27, N-5007 Bergen, Norway. Tel: +47 55 58 32 42. Fax: +47 55 58 94 70. E-mail: <oys...@ak...>. Home tel: +47 56 14 06 11. Mobile: +47 97 16 96 64. Home e-mail: <or...@br...>. Aksis home page: <www.aksis.uib.no>. |