From: Adam R. <ad...@ex...> - 2008-08-26 20:12:14
|
Ah yes, as Dannes says - the query should also be valid xquery - so for you... doc("/db/shakespeare/plays/hamlet.xml")/PLAY/TITLE 2008/8/26 Dannes Wessels <di...@ex...>: > Hi, > On Aug 26, 2008, at 11:30 , vikas kumar wrote: > > I thought the xquery(String sessionId, byte[] xquery) method would allow me > to query the DB and fetch specific values, so I tried something like > /db/shakespeare/plays/hamlet.xml/PLAY/TITLE (Base 64 Encoded byte array) but > got no collection in return. > > the path to the collection in here is /db/shakespeare/plays; > we have a few SOAP tests present in our test suite, you could check these as > well. > regards > Dannes > > > eXist-db Open Source Native XML Database > http://exist-db.org > > > > > > -- Adam Retter eXist Developer { England } ad...@ex... irc://irc.freenode.net/existdb |