can I store an xsd file in an app.config file? If so, how
Posted on 2010-08-18
How can I store an xsd file in my app.config file (since it is xml)? Also, how do I read it out?
Also, I am using this code to validate my xml. How could I do that if I was using an app.config file since I will now have a file instead of a path for the "schemaFileName" argument.
XmlSchemaSet sc = new XmlSchemaSet();
XmlReaderSettings settings = new XmlReaderSettings();
settings.Schemas = sc;
settings.ValidationType = ValidationType.Schema;