public void SaveGoodStringAsXMLFile()
 {
     cXMLHandler handler = new cXMLHandler();
     handler.SaveStringAsXMLFile(XmlFileNameGoodSave, XmlDocGood);
 }
 public void SaveGoodValidatedStringAsXMLFile()
 {
     cXMLHandler handler = new cXMLHandler();
     string schema = handler.LoadSchemaFromFile(XsdFileName);
     handler.SaveStringAsXMLFile(XmlFileNameGoodValidatedSave, XmlDocGood);
 }
 public void SaveBadValidatedStringAsXMLFile()
 {
     if (File.Exists(XmlFileNameBadValidation))
     {
         File.Delete(XmlFileNameBadValidation);
     }
     cXMLHandler handler = new cXMLHandler();
     string schema = handler.LoadSchemaFromFile(XsdFileName);
     handler.SaveStringAsXMLFile(XmlFileNameBadValidation, XmlDocBad);
     if (File.Exists(XmlFileNameBadValidation))
     {
         File.Delete(XmlFileNameBadValidation);
     }
 }