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

Search Phases

Search Phases

The Script searches for a sequence of anchors in three phases:
  • Initial
  • Main
  • Final
By default, all
Marker
anchors are in the initial phase and all
Content
anchors are in the main phase. This means that the Script first finds the
Marker
anchors, and then it finds the
Content
anchors between them.
To understand this, consider a Parser that processes the following source document:
First name: Ron Last name: Lehrer
Suppose you have defined the anchors in the following way, with default anchor properties:
Anchor
Text in the Source Document
Phase
Marker
First name:
Initial
Content
Ron
Main
Marker
Last name:
Initial
Content
Lehrer
Main
In the initial phase, the Script searches for the
Marker
anchors:
  • It searches for
    First name:
    .
  • It searches for
    Last name:
    at a location that follows
    First name:
    .
In the main phase, the Script searches for the
Content
anchors:
  • It searches for the
    Ron
    anchor at a location between
    First name:
    and
    Last name:
    .
  • It searches for the
    Lehrer
    anchor at a location after
    Last name:
    .


Updated March 18, 2021