xml()
Dumps the contents of the database as an XML-file.
db = ximport("database") book = db.connect("book") book.xml()