C# Class SobekCM.Resource_Object.Utilities.XmlValidator

Class used to perform very basic validation against any XML file
Exibir arquivo Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
IsValid ( string XmlFile ) : bool

Validates whether XML is valid XML, without any checks against schemas

XmlValidator ( ) : System

Constructor for a new instance of the XmlValidator clss

Private Methods

Method Description
MyValidationEventHandler ( object sender, ValidationEventArgs args ) : void

EventHandler is called when there is an error during validation

Method Details

IsValid() public method

Validates whether XML is valid XML, without any checks against schemas
public IsValid ( string XmlFile ) : bool
XmlFile string Full pathname for the XML file to validate
return bool

XmlValidator() public method

Constructor for a new instance of the XmlValidator clss
public XmlValidator ( ) : System
return System