Beispiel #1
0
        /// <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);
        }
Beispiel #2
0
        public ShowXSD(XSDData xsdData)
        {
            InitializeComponent();

            this.Text         += " | " + xsdData?.Name;
            xsdContentBox.Text = xsdData?.Content;
        }
Beispiel #3
0
 public void SetXSD(XSDData xsd)
 {
     _xsd = xsd;
 }
 public ValidateWithXSD(ref string xml, XSDData xsd)
 {
     _xmlContent = xml;
     _xsdData    = xsd;
 }