XmlToIon
Read a XML file and write it to an ion serialized data file.
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 }}"
Dynamic YES
Source file URI
Dynamic YES
Default UTF-8
The name of a supported charset
Default value is UTF-8.
Dynamic NO
Dynamic YES
XPath use to query in the XML file.
Format uri
URI of a temporary result file
SubType string
Dynamic YES
List of XML tags that must be parsed as lists.