XML Validator

Determines whether an XML document conforms to an XML schema and if returns a list of errors in an XML document.

Properties

Schema

Type: Xml Input
Provides an XML Schema to validate XmlDocument against.

XmlDocument

Type: Xml Input
The XML document to be validated.

NsMatching

Type: List Input
Indicates the behavior to use to match namespaces.

DontCare - Indicates that namespace mismatches should be ignored
MatchOne - Indicates that only the root namespace should match
MatchAll - Indicates that all namespaces should match

ErrorXml

Type: Xml Output
Returns an XML document listing all XML validation errors found.

Remarks

Use this Node to validate a complex document according to an XML schema as early as possible in the workflow to flush out problems with input data.

Where it's necessary to validate a document in another format (such as JSON), use an appropriate conversion Node (such as JSON Convert) to convert it to XML first.