Creating an XML document with a schema -- sample xerces c++ code?

J

*Jeff Esposito*

Could somebody please point me to some sample xerces c++ code that
creates an XML document with a schema.

I have been able to find plenty of dtd examples, but no schema
examples.

What am I supposed to do -- call createDocument with a NULL DocType,
add then call setAttribute on the root node for the attributes
(xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" and
xsi:noNamespaceSchemaLocation="foo.xsd" )?

thanks in advance,

Jeff Esposito ([email protected])



-jrff

(Remove the NOSPAM from my email address to send me mail)
 

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,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top