PDA

View Full Version : How to validate a XML file whether matches a XSD file with Qt4.4.3



xlttap
1st September 2010, 08:19
How to validate a XML file whether matches a XSD file or not with Qt4.4.3 ?

antialias
1st September 2010, 12:49
have a look at QXmlSchemaValidator (http://doc.trolltech.com/4.6/qxmlschemavalidator.html)

xlttap
2nd September 2010, 07:26
have a look at QXmlSchemaValidator (http://doc.trolltech.com/4.6/qxmlschemavalidator.html)

Thank you for your repling.
QXmlSchemaValidator is included from Qt4.6.0,while my Qt version is Qt4.4.3.
In application,it is not a good idea to change my Qt version,therefore, I have to find some other way
instead. e.g. using Xerces C++ to validate XML