pipeline.src.parsers.flux.utils
Attributes
Functions
|
Returns the first element of xml_element that matches the provided xml_path. |
|
|
|
|
|
Module Contents
- pipeline.src.parsers.flux.utils.get_element(xml_element: xml.etree.ElementTree.Element, xml_path: str) xml.etree.ElementTree.Element[source]
Returns the first element of xml_element that matches the provided xml_path.
- Parameters:
xml_element (ET.Element) – xml element in which to search
xml_path (str) – path describing the searched element
- Returns:
first element of the input xml_element that matches xml_path
- Return type:
ET.Element