EDN Admin
Well-known member
Hi there, <br/><br/>I have the following question. I have a main schema test.xsd that refers to two other schemas ( test1.xsd & test2.xsd). I want to validate my xml against these xsds. How can we do that? In test1.xsd and test2.xsd, i have all the elements and attributes have been defined and they are being referred using the ref attribute. <br/><br/>I want to do the following: ( Read XML, validate it against a schema and load it into a dataset, which is not working due to multiple schemas)<span style="font-size:x-small <br/>objXmlDataDocument.DataSet.ReadXmlSchema(<span style="font-size:x-small;color:#a31515 <span style="font-size:x-small;color:#a31515 "C:test.xsd")<span style="font-size:x-small <br/>objXmlDataDocument.Load(<span style="font-size:x-small;color:#a31515 <span style="font-size:x-small;color:#a31515 "C:test.xml"<span style="font-size:x-small ) <br/><span style="font-size:x-small dsXmlData = objXmlDataDocument.DataSet <br/><br/><span style="font-size:x-small Any help would be appreciated. <br/><br/>Thanks, <br/>vsr
View the full article
View the full article