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 Anchors

Serialization Anchors

Serialization anchors are the main components you use in a Serializer. These are analogous to the anchors that are used in a Parser, except that they work in the opposite direction. Anchors read data from locations in the source document and write the data to XML. Serialization anchors read XML data and write the data to locations in the output document.
The most important serialization anchors are
ContentSerializer
and
StringSerializer
.
  • A
    ContentSerializer
    writes the content of a specified data holder to the output document. It is the inverse of a
    Content
    anchor, which reads content from a source document.
  • A
    StringSerializer
    writes a predefined string to the output. It is the inverse of a
    Marker
    anchor, which finds a predefined string in a source document.

0 COMMENTS

We’d like to hear from you!