==Switch the database==
* You can explicitly query the factbook database with the <code>doc(...)</code> funtion, no matter what the current context is.
<precode>>[[Commands#XQUERY|XQUERY]] doc("factbook")//country</precode>
* Otherwise, to set factbook as the current context, execute the following:
<precode>>[[Commands#OPEN|OPEN]] factbook</precode>
* To list the current context, type:
<precode>>[[Commands#SHOW|SHOW]] DATABASES</precode>
That yields the following lines: