How to validate xml file with schema where schema is in string format

]-[unter

New Member
I need to validate a \[code\]XML\[/code\] file against \[code\]XSD Schema\[/code\] and the code worked fine. But currently, the schema is stored in string format in Database and the code to validate as shown below, is not working \[code\] XmlReaderSettings settings = new XmlReaderSettings(); settings.Schemas.Add(null,"SchemaURL");\[/code\]Kindly help
 
Back
Top