daemon/core/misc/xmlutils.py
def iterMatchingDescendants(dom, matchFunction, max_depth = 0):
    '''\
    Iterate over descendant elements where matchFunction(descendant)
    returns true.  Only consider nodes up to max_depth deep when
    max_depth is greater than zero.
    '''
    for d in iterDescendants(dom, max_depth):
        if matchFunction(d):
            yield d
\
    Iterate over descendant elements where matchFunction(descendant)
    returns true.  Only consider nodes up to max_depth deep when
    max_depth is greater than zero.
    
\
Iterate over descendant elements where matchFunction(descendant)
returns true.  Only consider nodes up to max_depth deep when
max_depth is greater than zero.
\ Iterate over descendant elements where matchFunction ( descendant ) returns true . Only consider nodes up to max_depth deep when max_depth is greater than zero .
def iterMatchingDescendants(dom, matchFunction, max_depth = 0):
    for d in iterDescendants(dom, max_depth):
        if matchFunction(d):
            yield d
def iterMatchingDescendants ( dom , matchFunction , max_depth = 0 ) : for d in iterDescendants ( dom , max_depth ) : if matchFunction ( d ) : yield d
\
Iterate over descendant elements where matchFunction(descendant)
returns true.
\ Iterate over descendant elements where matchFunction ( descendant ) returns true .
'''\
    Iterate over descendant elements where matchFunction(descendant)
    returns true.  Only consider nodes up to max_depth deep when
    max_depth is greater than zero.
    '''
dom
matchFunction
max_depth