Xerces, howto parse stringstream and validate with xsd-file

H

heiko

Hi,

I have written a program for parsing XML data with Xerces and C++.
There are still two things, for which I need help:

I want to validate a XML file with a schema, given by my xsd-file.

I receive the XML data via network. Now, I write the data I receive
into a file and then parse it with parseURI(), but I want to parse the
XML data directly. So I need a function, which parses a string or a
stringstream.

Is that possible with Xerces and C++? Does someone have example code?

Thank you,
Heiko
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top