Skip to main content

XSD Validator

Description

XSD Validator validates XML content against an XML Schema Definition (XSD) to confirm it conforms to the expected structure and data types. Use this step when your workflow processes XML data that must meet a specific schema — for example, validating incoming EDI documents, API payloads, or configuration files before further processing. It accepts XML from a file or an input field and supports defining the XSD source as a file, a field reference, or inline within the XML itself. The step outputs a validation result indicating whether the XML passed or failed.

Configurations

Field NameDescription
Step nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
XML Source:
XML source is a fileEnable this checkbox if the XML file is defined as a filename in the XML field
XML fieldEnable this checkbox if the field to read that contains the XML filename or the XML content itself.
Output fields:
Result fieldnameSpecify the name of the result field
Output String fieldEnable this checkbox if you want to specify specific messages after validation:

- Display if XML is valid: the message if the XML was valid

- Display if XML is not valid: the message if the XML wasn't valid

Add validation msg in outputEnable this check box if you want to add a validation message in the output
Validation msg fieldSpecify the name of the validation message field
XML schema definition:
XSD sourceSelect one of these options:

1. The XSD source is a file, let me specify the filename (specify below in the XSD filename field).

2. The XSD source is a file, defined in a field (specify below in the XSD filename field).

3. The XSD source is defined inside the source XML.

XSD FilenameSpecify the filename if option 1 is chosen above. Click Browse button to search the file.
XSD Filename FieldSpecify the field containing the file if option 2 is chosen as XSD source above.