Create XML schema with xerces-c

A

AlfredK

I want to generate a XML schema in memory with xerces-c.

When browsing through the xerces source I found
// this method should only be used while the grammar is being
// constructed, not while it is being used
// in a validation episode!

virtual XMLElementDecl* Grammar::findOrAddElemDecl
(
const unsigned int uriId
, const XMLCh* const baseName
, const XMLCh* const prefixName
, const XMLCh* const qName
, unsigned int scope
, bool& wasAdded
)

but unforunately I couldn't find any documentation or sample.

Can anybody give me a hint or even better a example how to use it or do
I have to use the same way for a 'regular' XML document as provided in
the sample CreateDOMDocument.
 

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

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top