|-
| valign='top' | '''Summary'''
|Adds the files, directory or XML string specified by <code>[input]</code> to the currently opened database, using an optional <code>[target]</code> path and an optional file <code>[name]</code>.<br/>The input may either be a single XML document, a directory, a remote URL or a plain XML string. The optional name is ignored if the input is a directory.|-| valign='top' | '''Summary'''|* <code>ADD input.xml</code><br/>adds the file <code>input.xml</code> to the database.* <code>ADD AS one.xml TO temp input.xml</code><br/>adds <code>input.xml</code> to the database and moves it to <code>temp/one.xml</code>.* <code>ADD TO new xmldir</code><br/>adds all files in the <code>xmldir</code> source directory to the database and moves them to to the target directory <code>new</code>.
|}
==ALTER DATABASE==
{|