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

Using the Marking Property to Define Segment Boundaries

Using the Marking Property to Define Segment Boundaries

You can use the marking property to control whether the data in the opening and closing marker is included in the segment and passed to a transformation.
The rule is that the Streamer passes the data between the innermost reference points surrounding the segment. For example:
  • If the opening marker has
    marker = begin position
    , the innermost reference point is at the start. The entire marker is included in the segment.
  • If the opening marker has
    marker = end position
    or
    full
    , the innermost reference point is at the end. The marker is excluded from the segment.
The inverse relationships apply to the closing marker.
To illustrate this, consider a simple segment having the following structure:
BEGIN...data...END
A
MarkerStreamer
identifies the opening marker by searching for the text
BEGIN
. Another
MarkerStreamer
identifies the closing marker by searching for
END
.
The following table illustrates how the marking property affects the segment boundaries.
Marking of Opening Marker
Marking of Closing Marker
Segment Passed to the Transformation
full
full
...data...
full
begin
...data...
full
end
...data...END
begin
full
BEGIN...data...
begin
begin
BEGIN...data...
begin
end
BEGIN...data...END
end
full
...data...
end
begin
...data...
end
end
...data...END