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

Subelement Components

Subelement Components

Within the subelements hierarchy, you can insert the following components:
Subelement
Description
RecordStructureLocal
Matches and parses a single record.
SequenceStructureLocal
Defines a sequence of nested subelements. The records must occur in the same sequence as the nested subelements.
ChoiceStructureLocal
Defines a choice of nested subelements. A record must match one of the nested subelements.
AllStructureLocal
Defines a set of nested subelements, without a specified sequence. The records can match the nested subelements in any order.
The names end with
Local
because you can configure them in nested, non-global locations of the Script. There is a corresponding set of components called
RecordStructure
,
SequenceStructure
, and so forth, without the
Local
suffix. You can configure these at the global level of the Script and reference them wherever required. To reference the global components, insert an
EmbeddedStructure
subelement.
The top-level subelements list of a
StructureDefinition
is equivalent to
SequenceStructureLocal
. The records must occur in the same sequence as the top-level subelements.
By default, each subelement must occur exactly once. To alter the default, set the
minOccurs
and
maxOccurs
properties of the subelement. For example, if a subelement can be missing or occur up to 3 times, set
minOccurs = 0
and
maxOccurs = 3
. To permit unlimited occurrences, set
maxOccurs = -1
.
For more information about the subelement components, see the Anchor Subcomponent Reference.