Built-in apps

XML

8min



With the XML app in , you can manage, parse, and bundle XML formatted text.

You do not need to establish a connection to use the XML app.

XML modules

You can use the following types of modules to build your .

Searches

Perform XPath Query

Field

Description

XML

Enter the source XML document.

XPath Query

Enter the query in the XPath language.

Transformers

Create XML

Converts a bundle to an XML formatted text.

Field

Description

Data structure

Describes the structure of the resulting XML.

If you have a sample of the XML you would like to parse, you can use it to generate the data structure:

  1. Click Add.
  2. Click Generate.
  3. Copy and paste the XML sample into the Sample data field.
  4. Click Save.
  5. Verify that the data structure has been successfully generated.
  6. Click Save to save the data structure.

Parse XML

Parses an XML formatted text and outputs a single bundle containing all the information extracted from the XML.

Field

Description

Data structure

Select or add a date structure.

Describes the structure of the XML to make the output of the module available in the mapping panel for the modules that follow.

If you have a sample of the XML you would like to parse, you can use it to generate the data structure:

  1. Click Add.
  2. Click Generate.
  3. Copy and paste the XML sample into the Sample data field.
  4. Click Save.
  5. Verify that the data structure has been successfully generated.
  6. Click Save to save the data structure.

You can skip steps 2-5 to supply an empty data structure. This way the output of the module will not be available in the mapping panel until the module has been executed at least once to process an XML input.

XML

Enter the XML to parse.

If you use a formula, make sure its result value type is (or can be automatically changed to) Text type. If the result value type is Buffer (binary data) then use toString() function to convert it to the Text type.