Dumping the edited XML Tree into xml file

After we made changes in the XML Trees Node. The new XML Tree is generated and the new xml file is dumped.