def get_direct_text(n, tag):
    c = n.find(('./%s' % tag))
    if (c is not None):
        return ' '.join(c.itertext()).strip()
def get_direct_text(n, tag):
    c = n.find(('./%s' % tag))
    if (c is not None):
        return ' '.join(c.itertext()).strip()