{"api_version":2,"name":"piflow_xml_string_parser","version":"1.0","role":"source","type":"sdk","description":"Read selected direct child elements from repeated XML rows supplied as a literal parameter.","icon":{"path":"M3 5h18v14H3zM3 10h18M9 5v14"},"inputs":{},"outputs":{"result":{"view":"records"}},"parameters":{"type":"object","properties":{"XmlString":{"type":"string","description":"XML document supplied as a string."},"label":{"type":"string","description":"Comma-separated element path beginning at the root."},"schema":{"type":"string","description":"Comma-separated child tags to emit as columns."}},"required":["XmlString","label","schema"],"additionalProperties":false},"documentation":{"inputs":{},"outputs":{"result":"Records stream. Read selected direct child elements from repeated XML rows supplied as a literal parameter."},"parameters":{"XmlString":{"description":"XML document supplied as a string.","help":"XML document supplied as a string.","example":"<sites><site><name>Alpha</name><url>a.example</url></site><site><name>Beta</name></site></sites>"},"label":{"description":"Comma-separated element path beginning at the root.","help":"Comma-separated element path beginning at the root.","example":"sites,site"},"schema":{"description":"Comma-separated child tags to emit as columns.","help":"Comma-separated child tags to emit as columns.","example":"name,url"}},"example_job":"name: XML text source\nsteps:\n- id: process\n  operator: piflow_xml_string_parser@1.0\n  inputs: {}\n  params:\n    XmlString: <sites><site><name>Alpha</name><url>a.example</url></site><site><name>Beta</name></site></sites>\n    label: sites,site\n    schema: name,url\n- id: receive\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"runtime":{"image":"sha256:40db7fee594f1452790d1cc99c2e5429e187eb64633c716b8c6f903c47576975","archive":{"sha256":"e1844833e35390f2eaf9fc9ec7b67057ad0305ad713c0da6c8b055980a66946c","size":73825792,"filename":"python-arrow-2.0-runtime.tar"}},"execution":{"executor":"python","entrypoint":"xstream_piflow_xml_string_parser","config":{}},"source_public":true,"provenance":{"license":"Apache-2.0","source_repository":"https://github.com/cas-bigdatalab/piflow","source_revision":"777361c4e72b2c5457479683916b7c8e635289ff","build_instructions":"Build the Python SDK adapter in src/ with python-arrow@2.0. See job.yaml for an example using the supplied fixtures.","source_archive":{"sha256":"f917e562778d8a4f1d1880d9a0187765233395700ba3693899fc9acde01df0c3","size":11330,"filename":"piflow_xml_string_parser-sources.zip"},"license_file":{"sha256":"c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","size":11357,"filename":"LICENSE.txt"}},"artifact":{"sha256":"d15cea6fa2a111acb82de5dcc05ff7cfab9da3111a407f0eb8498b4d97c41592","size":12926,"filename":"operator.zip"},"categories":["PiFlow","XML"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795079221885},"publication":{"author":"dacp-examples","submitted_at_ms":1795079215419,"approved_at_ms":1795079221885,"last_submitted_at_ms":1795079215419,"last_approved_at_ms":1795079221885},"download_count":5}