def xml_string(line, tag, namespace, default=None):
    """ Get string value from etree element """
    try:
        val = (line.find(namespace + tag).text)
    except:
        val = default
    return val