Openfromxml¶
flowtask.components.OpenFromXML
¶
OpenFromXML
¶
Bases: FlowComponent
OpenFromXML
Overview
This component opens an XML file and returns it as an XML etree Object.
.. table:: Properties
:widths: auto
+--------------+----------+-----------+-------------------------------------------------------+
| Name | Required | Summary |
+--------------+----------+-----------+-------------------------------------------------------+
| directory | No | The directory where the XML file is located. |
+--------------+----------+-----------+-------------------------------------------------------+
| filename | Yes | The name of the XML file to be opened. |
+--------------+----------+-----------+-------------------------------------------------------+
| use_strings | No | If True, the component will treat the input as a string containing|
| | | XML data. |
+--------------+----------+-----------+-------------------------------------------------------+
| as_nodes | No | If set, specifies the node to be extracted from the XML tree. |
+--------------+----------+-----------+-------------------------------------------------------+
Returns:
| Type | Description |
|---|---|
|
|
|