BaseX Support14 Jul 2011 17:37 # Quoted text · 3 lines
> 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") )
Quoted text · 1 line
> Thank you
You're welcome,
Christian