code: def parse_cim(self, tup_tree):
          
  
          self.check_node(tup_tree, 'CIM', ('CIMVERSION', 'DTDVERSION'))
  
          if not attrs(tup_tree)['CIMVERSION'].startswith('2.'):
              raise CIMXMLParseError(
                  _format("CIMVERSION is {0}, expected 2.x.y",
                          attrs(tup_tree)['CIMVERSION']),
                  conn_id=self.conn_id)
  
          child = self.one_child(tup_tree, ('MESSAGE', 'DECLARATION'))
  
          return name(tup_tree), attrs(tup_tree), child
docs: Parse the top level element of CIM/XML message
  
            ::
  
              <!ELEMENT CIM (MESSAGE | DECLARATION)>
              <!ATTLIST CIM
                  CIMVERSION CDATA #REQUIRED
                  DTDVERSION CDATA #REQUIRED>