OPERATOR / VERSION 1.0

piflow_xml_string_parser

PiFlow · XML

Read selected direct child elements from repeated XML rows supplied as a literal parameter.

View manifest JSON ↗

Use this operator

operator: piflow_xml_string_parser@1.0

Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.

Named ports

  • resultOutputrecords

    Records stream. Read selected direct child elements from repeated XML rows supplied as a literal parameter.

Output structure and samples are provided by operator inference.

Parameters

  • XmlStringstringRequired

    XML document supplied as a string.

    How to fill
    XML document supplied as a string.
    Example value
    <sites><site><name>Alpha</name><url>a.example</url></site><site><name>Beta</name></site></sites>
  • labelstringRequired

    Comma-separated element path beginning at the root.

    How to fill
    Comma-separated element path beginning at the root.
    Example value
    sites,site
  • schemastringRequired

    Comma-separated child tags to emit as columns.

    How to fill
    Comma-separated child tags to emit as columns.
    Example value
    name,url

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: piflow_xml_string_parser@1.0
inputs: {}
params:
  XmlString: <sites><site><name>Alpha</name><url>a.example</url></site><site><name>Beta</name></site></sites>
  label: sites,site
  schema: name,url

Manual download

curl -fLo 'operator.zip' 'https://repo.conox.cn/v1/blobs/sha256/d15cea6fa2a111acb82de5dcc05ff7cfab9da3111a407f0eb8498b4d97c41592/operator.zip'
sha256sum -- 'operator.zip'
curl -fLo 'LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4/LICENSE.txt'
sha256sum -- 'LICENSE.txt'

Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.

Source and licensing

See Source archive under Artifact details

Source repository
https://github.com/cas-bigdatalab/piflow
Source revision
777361c4e72b2c5457479683916b7c8e635289ff
License (publisher declared)
Apache-2.0
License text
Available below
Dependency SBOM
Dependency SBOM not provided

Build instructions

Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.

Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.