Correct generation of XML-description of database.