/// <summary> /// opens XSD file and returns file name /// </summary> /// <param name="path">what XSD to open</param> /// <returns>filename if succesfull, otherwise null</returns> public string OpenXSD(string path) { _xsd = new XSDData(path); CurrentNode = _xsd.RootNode; return(_xsd.Name); }
public ShowXSD(XSDData xsdData) { InitializeComponent(); this.Text += " | " + xsdData?.Name; xsdContentBox.Text = xsdData?.Content; }
public void SetXSD(XSDData xsd) { _xsd = xsd; }
public ValidateWithXSD(ref string xml, XSDData xsd) { _xmlContent = xml; _xsdData = xsd; }