def _split_namespace(tag):
 try:
  return tag[1:].split('}', 1)
 except:
  return ('', tag)

def _split_namespace ( tag ) : try : return tag [ 1 : ] . split ( '}' , 1 ) except : return ( '' , tag )
split a tag into namespace and local tag strings .