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

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


Updated September 26, 2018