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

Serializer

Serializer

A
Serializer
converts XML documents to output documents.
The following table describes the properties of the
Serializer
component:
Property
Description
default_transformers
Defines a list of transformers that the
Serializer
applies to all serialized data.
example_source
Defines a sample XML source document. When you run the Serializer in the Developer tool, it operates on the sample document. You can choose one of the following options:
  • Empty. You are prompted for a source document when you run the Serializer. Default.
  • InputPort. Defines an input port.
  • LocalFile. Defines a file on the local file system.
  • Text. Defines a string.
  • URL. Defines a URL.
name
A descriptive label for the component. This label appears in the log file and the
Events
view. Use the
name
property to identify the component that caused the event.
notifications
A list of
NotificationHandler
components that handle notifications from nested components. For more information, see Notifications.
on_fail
The action to take if the component fails. You can choose one of the following options:
  • Cleared. Take no action.
  • CustomLog. Write to the user log.
  • LogError. Write an error message to the engine log.
  • LogInfo. Write an information message to the engine log.
  • LogWarning. Write a warning message to the engine log.
  • NotifyFailure. Send a notification.
Default is cleared. For more information about handling component failures, see Failure Handling.
output_file_extension
Defines the file extension of the generated output file. Default is ".txt".
remark
A user-defined comment that describes the purpose or action of the component.
root_tag
Defines the name of a root XML element that is not in the input schema for the Serializer.
If the input of the Serializer in XML from another component in the Script, and the Data Processor transformation settings add a wrapper root element around the output, you must set this property to the name of the wrapper root element.
source
Defines a data holder that contains the source for the serialization. For more information, see Overview of Locators, Keys, and Indexing.
target
Defines a data holder that contains the result of the serialization. For more information, see Overview of Locators, Keys, and Indexing.
validate_source_document
Determines the level of source XML validation that the Serializer performs. You can choose one of the following options:
  • Partial. Permits some deviations from the schema. Default.
  • Strict. Enforces the schema strictly.

0 COMMENTS

We’d like to hear from you!