XmlToIon​Xml​To​Ion

Convert an XML file into ION.

yaml
type: "io.kestra.plugin.serdes.xml.XmlToIon"

Convert an XML file to the Amazon Ion format.

yaml
id: xml_to_ion
namespace: company.team

tasks:
  - id: http_download
    type: io.kestra.plugin.core.http.Download
    uri: https://huggingface.co/datasets/kestra/datasets/raw/main/xml/products.xml

  - id: to_ion
    type: io.kestra.plugin.serdes.xml.XmlToIon
    from: "{{ outputs.http_download.uri }}"
Properties

Source file URI

Default UTF-8

The name of a supported charset

Default value is UTF-8.

XPath use to query in the XML file.

Format uri

URI of a temporary result file

SubType string

List of XML tags that must be parsed as lists.