Skip to main content

XSD Validator

Description

XSD Validator is a step in the Validation Plugin for Process Studio Workflows. This step validates XML source (file or input field) against XSD (XML Schema Definition). You need to specify the XSD source that describes how XML file should look like and the XML you want to validate for layout.

Configurations

No.Field NameDescription
1Step 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:
2XML source is a fileEnable this checkbox if the XML file is defined as a filename in the XML field
3XML fieldEnable this checkbox if the field to read that contains the XML filename or the XML content itself.
Output fields:
4Result fieldnameSpecify the name of the result field
5Output 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

6Add validation msg in outputEnable this check box if you want to add a validation message in the output
7Validation msg fieldSpecify the name of the validation message field
XML schema definition:
8XSD 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.

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