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

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

0 COMMENTS

We’d like to hear from you!