Ben Griffin wrote:
Dave thanks for your suggestion,

But it doesn't appear to be right -  let me show you:

I add a resource handler, and also a grammar in the following code.
However, the output remains the same
There are two problems here. The first is the target namespace in your schema doesn't match the namespace of the document.

The other is you need to tell the DOMBuilder to use cached grammars when parsing:

    dc->setParameter(XMLUni::fgXercesUseCachedGrammarInParse, true);

Dave

Reply via email to