Validating XML structures using XSD

You can validate an XML file against an XSD (XML Schema Definition).

Use the Module XSD Validation to do so.

This Module is part of the Standard subset. You can find it under Standard modules->TBox XEngines->XML.

If a validation returns a negative result, the elements of the XML file that do not correspond to the XSD file are listed.

In this example, you validate the XML file books.xml against the XML schema books.xsd.

{CP[ExampleDirectoryXML]} refers to the file path you defined in the test configuration parameter ExampleDirectoryXML.

XSD validation