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

XML Output Configuration

XML Output Configuration

The XML generation settings define characteristics of XML output documents.
The following table describes the XML generation settings in the
Schema Title
area:
Setting
Description
Schema location
Defines the schemaLocation for the root element of the main output document.
No namespace schema location
Defines the xsi:noNamespaceSchemaLocation attribute of the root element of the main output document.
Configure XML Output Mode settings to determine how the Data Processor transformation handles missing elements or attributes in the input XML document. The following table describes the XML generation settings in the
XML Output Mode
area:
Setting
Description
As is
Do not add or remove empty elements. Default is enabled.
Full
All required and optional elements defined in the output schema are written to the output. Elements that have no content are written as empty elements.
Compact
Removes empty elements from the output.
If
Add for Elements
is enabled, then the Data Processor transformation removes only the optional elements.
If
Add for Elements
is disabled, the Data Processor transformation removes all empty elements. The XML output might not be valid.
The following table describes the XML generation settings in the
Default Values for Required Nodes
area:
Setting
Description
Add for elements
When the output schema defines a default value for a required element, the output includes the element with a default value. Default is enabled.
Add for attributes
When the output schema defines a default value for a required attribute, the output includes the attribute with its default value. Default is enabled.
Validate added values
Determines whether the Data Processor transformation validates empty elements that are added by the Full mode output. Default is disabled.
If
Validate added values
is enabled and the schema does not allow empty elements, the XML output might not be valid.
The following table describes the XML generation settings in the
Processing Instructions
area:
Setting
Description
Add XML processing instructions
Defines the character encoding and XML version of the output document. Default is selected.
XML version
Defines the XML version. The XML version setting has the following options:
  • 1.0
  • 1.1
Default is 1.0.
Encoding
Defines the character encoding that is specified in the processing instruction. The Encoding setting has the following options:
  • Same as output encoding. The output encoding in the processing instruction is the same as the output encoding defined in the Data Processor transformation settings.
  • Custom. Defines the output encoding in the processing instruction. The user types the value in the field.
Add custom processing instructions
Adds other processing instructions to the output document. Enter the processing instruction exactly as it appears in the output document. Default is Disabled.
The following table describes the XML generation settings in the
XML Root
area:
Setting
Description
Add XML root element
Adds a root element to the output document. Use this option when the output document contains more than one occurrence of the root element defined in the output schema. Default is Disabled.
Root element name
Defines a name for the root element to add to the output document.

0 COMMENTS

We’d like to hear from you!