xmldb:register-database($driver as xs:string, $create-db as xs:boolean) xs:boolean
Registers an XMLDB driver class with the XMLDB Database Manager. This is only required if you want to access a database instance different from the one that executes the XQuery.
$driver
The DB driver
$create-db
The flag to create the db if it does not exist
Returns true() if successfully registered, false() otherwise