How to get XmlSchema object from large string that contains all Xsd content?
Thanks.
How to get XmlSchema object from large string that contains all Xsd content?
Thanks.
You can use a StringReader:
string content = ".......";
XmlSchema schema = new XmlSchema();
schema.Read(new StringReader(content), ValidateSchema);