In memory validation of XML doc?

admin

Administrator
Staff member
HiThis maybe a pretty silly doubt since I am familiar with XML only for thepast couple of weeks.I have a couple of XSL documents that are applied to a set of XML documentswith the output of the application being another XML document. When I doa 'transformNode', the output XML is in a BSTR. I have some XML Schemasestablished for this output. Now is there anyway I can validate this outputagainst the schema I have developed without having to first serialize theoutput XML to a file and then reloading it? I know there is a method called'validate' in IXMLDomDocument2, but I am not sure how to use it.Any help would be highly appreciated.TIA--Dilip
 
Back
Top