[Qt-interest] Validating a DOMTree?

B.W.H. van Beest bwvb at xs4all.nl
Thu Apr 29 14:10:16 CEST 2010


Suppose I have an XML file, structured according a certain scheme.
Then I read this file into a QDomElement, thus creating a DOM tree.
Next I want to modify the DOMTree, by adding/removing elements etc.
However, I want to allow only actions that are mandated by the
underlying schema.
In other words, how can I validate a DOM object tree against a certain
schema.
Any suggestion how that can be done are welcome.

Regards,
Bertwim



More information about the Qt-interest-old mailing list