My application transfers XMLs to Berkeley XML DB with names autogeneration. When I have for example 1000 documents in DB, how can I get name list of documents?
I can only count them by using:
query 'collection("myDB.dbxml")'
after 'print' console lists me a full content of XMLs.
The easiest way to do this is by interacting with the dbxml API and calling the getAllDocuments() method in your application. You can pass the output to an http response object if required...
Al la Danny Brian's excellent 'Definitive Guide to Berkeley DB XML' using Python: