C# Class WPFXmlBrowser.Controls.XmlValidator

显示文件 Open project: OfficeDev/Office-IT-Pro-Deployment-Scripts

Public Methods

Method Description
Validate ( System.Xml.Linq.XDocument xmlDoc, string &validationErrors ) : bool

Validates Xml against the configured schema and outs validation erros if any

Private Methods

Method Description
XmlValidator ( string xmlNamespace, string xsdDoc ) : System.Xml.Schema

Method Details

Validate() public method

Validates Xml against the configured schema and outs validation erros if any
public Validate ( System.Xml.Linq.XDocument xmlDoc, string &validationErrors ) : bool
xmlDoc System.Xml.Linq.XDocument
validationErrors string
return bool