* To create a database you need an XML document, e.g. [http://files.basex.org/xml/factbook.xml factbook.xml].
* Save this document to your working directory.
* Type in the following commandto create and open the database:
<code>
> [[Commands#CREATE DB|CREATE DB]] factbook factbook.xml