from xml.etree.ElementTree import ElementTree
tree = ElementTree()
root = tree.parse('assets.xml')
for assetType in root.findall("//AssetType[@longname='characters']"):
    for type in assetType.getchildren():
        pass
how to get specific nodes in xml file with python