Validating xml file against xsd
Permissions beyond the scope of this license may be available at [email protected]
This tells XMLBlueprint to validate the XML Document against XML Schema "book.xsd".
You need one schema and two XML files to validate against the schema.
This program validates the XML document against the schema successfully.
This tutorial explains the procedure for performing that validation using parsers for the Simple API for XML (SAX) and Document Object Model (DOM), as well as an XML Schema Design (XSD) validator.In this example, we demonstrate how to activate such validation.The illustration validates an XML document that the user chooses, either or catelog1against the XML Schema document After setting the Validation Type property, the Schema's property and Validation Event Handler of the Xml Reader Settings object, we are ready to create a validating Xml Reader.