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. Using the IntelliScript Editor
  7. XMap
  8. Libraries
  9. Schema Object
  10. Command Line Interface
  11. Scripts
  12. Parsers
  13. Script Ports
  14. Document Processors
  15. Formats
  16. Data Holders
  17. Anchors
  18. Transformers
  19. Actions
  20. Serializers
  21. Mappers
  22. Locators, Keys, and Indexing
  23. Streamers
  24. Validators, Notifications, and Failure Handling
  25. Validation Rules
  26. Custom Script Components

User Guide

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.

0 COMMENTS

We’d like to hear from you!