pylib/uxml/treeutil.py
def select_elements(source):
    '''
    Yields all the elements from the source
    source - if an element, yields all child elements in order; if any other iterator yields the elements from that iterator
    '''
    if isinstance(source, element):
        source = source.xml_children
    return filter(lambda x: isinstance(x, element), source)
def select_elements(source):
    '''
    Yields all the elements from the source
    source - if an element, yields all child elements in order; if any other iterator yields the elements from that iterator
    '''
    if isinstance(source, element):
        source = source.xml_children
    return filter(lambda x: isinstance(x, element), source)
def select_elements ( source ) : if isinstance ( source , element ) : source = source . xml_children return filter ( lambda x : isinstance ( x , element ) , source )
Yields all the elements from the source
    source - if an element, yields all child elements in order; if any other iterator yields the elements from that iterator
Yields all the elements from the source source - if an element yields all child elements in order ; if any other iterator yields the elements from that iterator