NAntContrib
Help
Task Reference
<validatexml> |
v0.85-rc1 |
[This is preliminary documentation and subject to change.]
Validates a set of XML files based on a set of XML Schemas (XSD).
| Attribute | Type | Description | Required |
|---|---|---|---|
| failonerror | bool | Determines if task failure stops the build, or is just reported. The default is true. | False |
| if | bool | If true then the task will be executed; otherwise, skipped. The default is true. | False |
| unless | bool | Opposite of if. If false then the task will be executed; otherwise, skipped. The default is false. |
False |
| verbose | bool | Determines whether the task should report detailed build log messages. The default is false. | False |
Contains a collection of XmlSchemaReference elements.
<validatexml>
<schemas>
<schema source="rcf-schema.xsd" />
<schema namespace="urn:schemas-company-com:base" source="base-schema.xsd" />
</schemas>
<files>
<include name="*.xml" />
</files>
</validatexml>