[MarkLogic Dev General] Forests and Collections querying problem
darren at ontrenet.com
Sun Aug 10 09:59:00 PDT 2008
Thanks. Your new query works:
The documentation says collection() can be used anywhere doc() can be
used. But trying this simple xpath query returns nothing.
Done (0.02 sec)
I don't understand completely. I load the XML string into the database.
MarkLogic reports it being loaded. I can run collection("MDCOL"); and
see the documents. Yet every XPath/query I run using the collection
to return a document returns nothing.
How does one do simple XPath queries against a collection to return
specific documents? I looked at all the use-cases, but none use
collections that I could see. :(
I do appreciate your help. Sorry its time consuming to do this.
On Sun, 2008-08-10 at 00:47 -0700, Danny Sokolsky wrote:
More information about the General