Validate XML document action in XML

The tags and document structure are defined when the XML document is created. Use the Validate XML document action in the XML package to validate an XML document.

Settings

  • Enter the session name or select an existing variable used in the Start XML session action.
  • Select the validation type from the following options:
    • XML schema files (.xsd)
      • List: Specify the schema XSD file path you want to validate in the Value field. Click Add to add multiple XML schema files (.xsd).
      • Variables: Create a new variable of type List with subtype String and enter the XSD file path in the Default value field (optional) or use an existing variable.
    • Internal Document Type Definitions (DTDs)
    • Well formed
  • Assign the output to a variable using Assign the output (Valid or Invalid) to variable