NextGen Knowledge Center

XML Data Type

This data type handles XML messages. No actual serialization or deserialization is needed because the data format is the same as the internal representation format (XML), but it still has options to strip namespaces if needed.

Serialization / Template Serialization Properties

NameDefault ValueDescription
Strip NamespacesDisabledIdentifies the strips namespace definitions from the transformed XML message. Will not remove namespace prefixes. If you do not strip namespaces your default xml namespace will be set to the incoming data namespace. If your outbound template namespace is different, you will have to set "default xml namespace = 'namespace';" via JavaScript before template mappings.

Batch Properties

NameDefault ValueDescription
Split Batch ByElement Name

Select the method for splitting the batch message. This option has no effect unless Process Batch is enabled in the Source Settings. The following options are available:

  • Element Name: Use the element name to split messages. Does not work with namespaces.
  • Level: Use the element level to split messages. Default is 1.
  • XPath Query: Use a custom XPath Query to split messages.
  • JavaScript: Use JavaScript to split messages. For additional information, see JavaScript Batch Script.
JavaScript––-Enter JavaScript that splits the batch and returns the next message. This script has access to 'reader', a Java BufferedReader, to read the incoming data stream. The script must return a string containing the next message, or a null/empty string to indicate end of input.

For additional information, see JavaScript Batch Script.