Validating Xml File Against XSD Schema

19 בפברואר 2008

Let the code talkpublic class XmlXsdValidator { private static bool _isValied = true; public static bool ValidateXmlAgainstXsdSchema(string xmlPath, string xsdPath) { try { XmlReader xsd = new XmlTextReader(xsdPath); XmlSchemaSet schema = new XmlSchemaSet(); schema.Add(null, xsd); ...
אין תגובות