[Qt-interest] Validating a DOMTree?
Gabriel M. Beddingfield
gabrbedd at gmail.com
Thu Apr 29 14:17:53 CEST 2010
On Thu, 29 Apr 2010, B.W.H. van Beest wrote:
> In other words, how can I validate a DOM object tree against a certain
> schema.
If you have Qt 4.6 and a W3C XML Schema, you can use
QXmlSchemaValidator[1].
Otherwise, you'll need to convert your DOM Tree to XML and
send it to another API or validator tool (e.g. xmllint)...
or write your own validator.
-gabriel
[1] http://doc.qt.nokia.com/4.6/qxmlschemavalidator.html
More information about the Qt-interest-old
mailing list