Hi
Right now we have static code to a XML schema file. But now we want to embedd that file
Code right now:
XmlTextReader reader = new XmlTextReader("schema.xsd");
XmlSchema schema = XMLSchema.Read(xReader, new ValidationEventHandler(ValidationEventHandler));
But now I want to have it embedded in a Resouce file. So how do I do.
XmlTextReader reader = new XmlTextReader(Resouces.Schema);
XmlSchema schema = XMLSchema.Read(xReader, new ValidationEventHandler(ValidationEventHandler));
This is not the way.