Hi,

I don't have the 1.7 docs handy but I doubt you had that ability then. If you take a look at DOMBuilder in a recent version of xerces then you can call loadGrammar - 1 of the overloads takes a DOMInputSource as the schema source.

Gareth

Xiaofan Zhou wrote:

Hi all,
I am using Xerces c++ SAX parser to process xml file. I would like to validation the xml file against a DTD or Schema, however, the DTD or the schema is passed into my application as a string. Is this possible? I am still using xerces version 1.7. I don't see I can use any of the setFeature(....) methods. Please point me to any document or code snippet if possible.
Thanks much in advance.
Frank


--
Gareth Reakes, Managing Director Parthenon Computing
+44-1865-811184 http://www.parthcomp.com



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to