def getFirstElementChild(node):
    """ return the first XML child node that is of type Element
    """
    for child in node.childNodes:
        if child.nodeType == node.ELEMENT_NODE:
            return child
