code: def split_qname(qname):
          
          res = qname.split(YinParser.ns_sep)
          if len(res) == 1:       # no namespace
              return None, res[0]
          else:
              return res
docs: Split `qname` into namespace URI and local name
  
          Return namespace and local name as a tuple. This is a static
          method.