utils
extract_xml_tags(xml_tag_name, node, *, allow_none=True)
¶
Helper to extract xml tags from xmltodict.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
xml_tag_name
|
str
|
Name of the xml tag to extract from the node. |
required |
node
|
Mapping[str, Any]
|
Node object returned by |
required |
allow_none
|
bool
|
If |
True
|
Returns:
Type | Description |
---|---|
object
|
|