Table of Contents

Search

  1. Preface
  2. Introduction to Data Transformation
  3. Data Processor Transformation
  4. Wizard Input and Output Formats
  5. Relational Input and Output
  6. XMap
  7. Libraries
  8. Schema Object
  9. Command Line Interface
  10. Scripts
  11. Parsers
  12. Script Ports
  13. Document Processors
  14. Formats
  15. Data Holders
  16. Anchors
  17. Transformers
  18. Actions
  19. Serializers
  20. Mappers
  21. Locators, Keys, and Indexing
  22. Streamers
  23. Validators, Notifications, and Failure Handling
  24. Validation Rules
  25. Custom Script Components

Data Transformation User Guide

Data Transformation User Guide

Assert Element Attributes

Assert Element Attributes

The Assert element defines the logic of a rule. The element contains an XPath expression. If the expression is false, the rule reports a validation error.
A Rule must contain at least one Assert element.
The following table describes the properties of the Assert element:
Property
Description
Additional Data
Optional. An XPath expression that can be evaluated and inserted into the error report.
Code
Optional. A string attribute that identifies the Assert element. If no Code is specified, the Code is taken from the parent Rule.
Description
Optional. A description of the Assert element. If no description is specified, the description is taken from the parent Rule.
Location
Optional. A string value that can be appended to the XPath expression equivalent to the node selected by the parent Rule. The expression is then inserted into the error report.
Rule Description
A read-only description of the Rule that the element is nested under.
XPath
Mandatory. An XPath Boolean expression that expresses the logic of the rule.


Updated September 26, 2018