Add method "WriteXml"

method to form Xml document