Ragasudha
Ragasudha

Reputation: 31

How to get document name from Berkeley DBXml

Is there any command or JAVA API option to get name list of documents available in the container.

Upvotes: 2

Views: 60

Answers (1)

lrv-eps
lrv-eps

Reputation: 136

There is an XQuery command you can run:

for $x in collection("users.dbxml") return dbxml:metadata('dbxml:name', $x)

Upvotes: 0

Related Questions