def generateElementsQNamed(list, name, uri):
    for n in list:
        if IElement.providedBy(n) and n.name == name and n.uri == uri:
            yield n
Filters Element items in a list with matching name and URI.
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/words/xish/domish.py/generateElementsQNamed