Additionaly to the creation with your choosen xml files you can start with creating an empty
collection and then add your xml files to it. Note that the <code>add</code> and <code>delete</code>
commands just operate on an opened database.
For more information see our [[BaseX & Collections|collection tutorial]].
===Access documents in collections===
The XQuery <code>collection()</code> function can be used to access documents in collections: