NextGen Knowledge Center

XML Data Type

Use the XML data type to work with XML messages directly. Because the internal representation matches the XML format, no serialization or deserialization is required. However, you can configure options to strip namespaces if needed.

Table 1. Serialization / Template Serialization Properties
NameDefault ValueDescription
Strip NamespacesDisabled

Identifies the strip's 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 must set Default XML namespace = 'namespace'; via JavaScript before template mappings.

Table 2. Batch Properties
NameDefault ValueDescription
Split Batch ByElement Name

Determines the method for splitting the batch message. This property 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.
JavaScript––-Contains the 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 either a string containing the next message or a null/empty string to indicate end of input.
XML Data Type