def _local(tag):
 if (tag[0] == '{'):
  return tag[(tag.index('}') + 1):]
 return tag

def _local ( tag ) : if ( tag [ 0 ] == '{' ) : return tag [ ( tag . index ( '}' ) + 1 ) : ] return tag
extract the local tag from a namespaced tag name .