'get a child by name'

def getchild(self, name, parent):

    log.debug('searching    parent    (%s)    for    (%s)', Repr(parent), name)
    if name.startswith('@'):
        return parent.get_attribute(name[1:])
    else:
        return parent.get_child(name)
