def end_tag(doc, name, namespace=None):
 doc.endElementNS((namespace, name), name)

def end_tag ( doc , name , namespace = None ) : doc . endElementNS ( ( namespace , name ) , name )
the text representation of an end tag for a tag .