The Validate XML File action is used to validate that an XML file is well-formed, schema compliant, or DTD compliant. If the file is not valid per the specified validation type, the step fails.
From the Task Builder Available Actions pane, open the XML folder and double-click the Validate XML File action or drag it into the Steps pane.
In the File box, click the Open Folder button , navigate to the XML file to be validated, and click Open.
In the Validation type box, select the validation type.
If you are using schema validation, select the schema file or files as follows:
Click the Add button, navigate to the .xsd file, and click Open.
Repeat the above for any additional schema files.
If you need to remove a file from the list, select it and click Remove.
To set the Description tab properties, refer to Description Tab Options.
To set the Error Causes and On Error tab properties, refer to Step Error Handling.
When finished, click OK to save settings and close the properties dialog window.
Adding Task Steps
Validate XML File Action