Re: BDB XML collection vs. doc question. -
11-22-2005
, 03:24 PM
When the document named "matches" does not exist in the container
"autogen.dbxml," which is the case.
When you insert documents using a query, the BDB XML feature that
automatically generates document names is used, and the string provided
(in this case "matches") is just used as a prefix. This is because
this mechanism may create more than one document.
For example, in the shell:
dbxml> putDocument mat <root/> q
Document added, name = mat_2, content = <root/>
So, the actual document you want is not called "matches."
In fact, it is more likely that you have multiple documents that start
with "matches."
If you want to see the documents in a container, use this:
dbxml> getDocuments
NN documents found
dbxml> printNames
Regards,
George |