code: def parse_namespacepath(parser, event, node): #pylint: disable=unused-argument
      
  
  
      (next_event, next_node) = six.next(parser)
  
      if not _is_start(next_event, next_node, 'HOST'):
          raise ParseError('Expecting HOST')
  
      host = parse_host(parser, next_event, next_node)
  
      (next_event, next_node) = six.next(parser)
  
      if not _is_start(next_event, next_node, 'LOCALNAMESPACEPATH'):
          raise ParseError('Expecting LOCALNAMESPACEPATH')
  
      namespacepath = parse_localnamespacepath(parser, next_event, next_node)
  
      (next_event, next_node) = six.next(parser)
  
      if not _is_end(next_event, next_node, 'NAMESPACEPATH'):
          raise ParseError('Expecting end NAMESPACEPATH')
  
      return (host, namespacepath)
docs: Parse namespace path element and return tuple of
         host and namespace
             <!ELEMENT NAMESPACEPATH (HOST, LOCALNAMESPACEPATH)>