def _get_elements_by_tagName_helper(parent, name, rc):
    for node in parent.childNodes:
        if node.nodeType == Node.ELEMENT_NODE and (name == '*' or node.
            tagName == name):
            pass
Order of elements from minidom getElementsByTagName