How does one restrict xml with an XML Schema?
- by John
Hello,
I want to restrict xml with a schema to a specific set. I read this tutorial
http://www.w3schools.com/schema/schema_facets.asp
This seems to be what I want. So, I'm using Qt to validate this xml
<car>BMW</car>
Here is the pertinent source code.
QXmlSchema schema;
schema.load(…