Is there a way to validate an XML file against a DTD with Qt's XML handling? I've tried googling around but can't seem to get a straight answer. If Qt doesn't include support for validating an XML file, what might be the process of implementing validation myself? Any good reference to start with in regards to validating XML against a spec? Thanks for the help!
You can validate your XML with this : http://qt.nokia.com/doc/4.6/qxmlschema.html
You can also find an example here : XML Schema Validation Example
Hope it helps a bit !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With