I will use DELETE command in advance. But supposing I have a DB with 5000 documents, which is the XQuery command to find out if there are duplicated names?
One popular way is to use the db:open() or collection() function, and include the path to the relevant documents:
count( collection("db/path/to/document.xml") )
Thank you
You're welcome, Christian
basex-talk@mailman.uni-konstanz.de