def _tag(element):
    """Return element.tag with xmlns stripped away."""
    tag = element.tag
    if tag[0] == "{":
        uri, tag = tag[1:].split("}")
    return tag
def _tag ( element ) : tag = element . tag if tag [ 0 ] == "{" : uri , tag = tag [ 1 : ] . split ( "}" ) return tag
Return element.tag with xmlns stripped away.