docs: def separate_namespace(qname):
      "Separates the namespace from the element"
      import re
      try:
          namespace, element_name = re.search('^{(.+)}(.+)$', qname).groups()
      except:
          namespace = None
          element_name = qname
      return namespace, element_name