Python - ipngxr2d
This Python function takes in XML and irrelevant of namespaces returns children of elements based on entry key and row match. Acknowledge this routine is for gathering children from an element.
<stuff>
<data>blah</data>
<interface>
<name>dave</name>
<speed>depends on beer/sleep ratio</speed>
<happy>mostly</happy>
</interface>
<interface>
<name>david</name>
<status>meh</status>
</interface>
</stuff>
In this case: tkey='data' and tvalue='blah', ROW_FORMAT= 'interface' You could also do this: tkey='stuff', tvalue=None, ROW_FORMAT='interface'
Example Call:
table_result = return_table(DATA,"TABLE_mac_address", None, "ROW_mac_address")