Entity and DTD parsing can be changed by modifying the [[Options#DTD|DTD]] options.
===XQuery===
The [[Database Functions#db:add|db:add()]] or [[Database Functions#db:replace|db:replace()]]
function can be used as well to add new XML documents to the database.
The following example query adds all files to the database <code>DB</code>
that are found in the directory <code>2Bimported</code>:
<pre class="brush:xquery">
for $file in file:list("2Bimported")
return db:add('DB', $file)
</pre>
==CSV Parser==