Modified XmlDao to have a Document as input to create the DOM
representation of the object.
Fixed a log message about number of objects added in transaction