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

Default Statement Properties

Default Statement Properties

The Default statement contains properties that you can configure to customize the statement. You can configure the default value if an input element is missing.
The Default statement has the following properties:
Default
Required. The default value to use when an element is missing from the input. For example, you can define a default value to initialize a counter.
Mode
Optional. Determines whether the Data Processor transformation adds an output element or matches an existing element with a value from a mapping statement. Choose one of the following options:
  • Add. Creates an element in the output hierarchical document. If the element in not multiple-occurring, and the same values exists in the output, the mapping statement fails.
  • Match. The statement expects to find a match for the element in the output elements. The statement fails if the element does not exist in the output hierarchical document.
  • Match or Add. If a matching element exists in the output hierarchical document, the Data Processor transformation does not add an output element. If the element does not exist in the output hierarchical document, the transformation creates an output element.
Name
Optional. A name for the statement. You can change the name at any time. The name identifies statements so you can find them in the mapping grid or in an event log. Statement names do not have to be unique.
Output
Optional. An XPath expression that defines the value of the node in the output hierarchical based on the results of the Input XPath expression.
Statement Type
Required. Identifies the statement as a Default statement.