def getNodesByName(parent, name):
    """
    Return a list of all of the child nodes matching a given local name
    """
    childNodes = parent.xpath("*[local-name() = '%s']" % name)
    return childNodes