def get_specific_nodes(self, node, names):
nodes = [(x.tagName, x) for x in node.childNodes<EOL>if x.nodeType == x.ELEMENT_NODE and<EOL>x.tagName in names]<EOL>return dict(nodes)<EOL>
Given a node and a sequence of strings in `names`, return a
        dictionary containing the names as keys and child
        `ELEMENT_NODEs`, that have a `tagName` equal to the name.