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

Serialization Mode

Serialization Mode

The example source might contain text that you do not want in the Serializer output. In that case, you can modify the behavior of the
Create Serializer
command in a way that does not generate the
StringSerializer
serialization anchors.
To do this, set the
serialization_mode
property of the
Parser
component. The possible values of the
serialization_mode
are explained in the following table:
Value
Description
Full
The
Create Serializer
command copies the non-XML text to the Serializer configuration. This is the default behavior.
Outline
The
Create Serializer
command copies only the delimiters of the non-XML text to the Serializer configuration.
Under the
Outline
option, you can select the
use_markers
option. This causes the Create Serializer command to copy the content of the
Marker
anchors but only the delimiters of other non-XML text.
The following table illustrates the results of the
serialization_mode
settings:
serialization_mode
Behavior
Sample Serializer Output
outline
With
use_markers
cleared
The
Create Serializer
command converts:
  • Content
    anchors to ContentSerializer serialization anchors
  • The delimiters of other text in the example source to
    StringSerializer
    serialization anchors
<tab>Larissa Chan
outline
With
use_markers
selected
The
Create Serializer
command converts:
  • Content
    anchors to
    ContentSerializer
    serialization anchors
  • The complete text of
    Marker
    anchors to
    StringSerializer
    serialization anchors
  • The delimiters of other text in the example source to
    StringSerializer
    serialization anchors
Name<tab>Larissa Chan
full
The
Create Serializer
command converts:
  • Content
    anchors to
    ContentSerializer
    serialization anchors
  • All other text in the example source to
    StringSerializer
    serialization anchors
Name (first and last):<tab>Larissa Chan

0 COMMENTS

We’d like to hear from you!