<validatexml>

Validates a set of XML files based on a set of XML Schemas (XSD).

Parameters

Attribute Type Description Required
failonerror bool False
if bool False
unless bool False
verbose bool False

Nested Elements:

<files>

The XML files that must be validated.

</files>

<schemas>

<schema ... />

The XML Schemas (XSD) to use for validation.

Contains a collection of XmlSchemaReference elements.

<schema ... />
...

</schemas>

Examples

            <validatexml>
                <schemas>
                    <schema source="rcf-schema.xsd" />
                    <schema namespace="urn:schemas-company-com:base" source="base-schema.xsd" />
                </schemas>
                <files>
                    <includes name="*.xml" />
                </files>
            </validatexml>