Skip to main content

Check If XML File Is Well Formed

Description

Check If XML File Is Well Formed verifies that one or more XML files are well-formed according to XML syntax rules. Use this process entry to validate XML files before schema validation or processing — for example, catching malformed tags, missing closing elements, or encoding errors in files received from external sources. It supports wildcard-based file selection and recursive directory searching to check multiple files in a single operation.

Configurations

Field NameDescription
Process entry nameSpecify the name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
General Tab
Settings:
Include subfoldersSelect checkbox to include sub-folders.
Copy previous results to argsCheck this to pass the results of the previous entry to the arguments of this entry. Be careful, arguments must be in the same order as that of arguments i.e.

i.source folder/file

ii. wildcard

File/Folder sourceSpecify a File/Folder source or browse.
AddClick to add the file/folder to the Files/Folders table.
File…Click to browse a file.
Folder…Click to browse a folder.
Wildcard(RegExp)Specify the regular expressions wildcard to match. Only files that match the wildcard can be checked.
Files/Folders:
Files/Folder SourceSpecify the file or folder to process. If it is a folder Process Studio will fetch only if ‘Include subfolders’ is checked.
Wildcard(RegExp)Specify the regular expressions wildcard to match. Only files that match the wildcard can be moved.
DeleteSelect a record in the this table and click the delete button to delete the record.
EditSelect a record in the this table and click the edit button to edit the record.
Advanced Tab:
Success On:
Success ConditionSelect a success condition from the list.

Success condition dropdown options

Nr filesSpecify the number of files in case the second or third options are selected in the Success Condition.
Result files name:
Add filenamesSelect an option from the drop-down list for adding filenames to the result.

Add filenames to result dropdown options