code: def parse_instance(self, tup_tree):
          
  
          self.check_node(tup_tree, 'INSTANCE', ('CLASSNAME',), ('xml:lang',),
                          ('QUALIFIER', 'PROPERTY', 'PROPERTY.ARRAY',
                           'PROPERTY.REFERENCE'))
  
          # The 'xml:lang' attribute is tolerated but ignored.
  
          # Note: The check above does not enforce the ordering constraint in the
          # DTD that QUALIFIER elements must appear before PROPERTY* elements.
  
          qualifiers = self.list_of_matching(tup_tree, ('QUALIFIER',))
  
          props = self.list_of_matching(tup_tree,
                                        ('PROPERTY.REFERENCE', 'PROPERTY',
                                         'PROPERTY.ARRAY'))
  
          obj = CIMInstance(attrs(tup_tree)['CLASSNAME'], qualifiers=qualifiers)
  
          for prop in props:
              obj.__setitem__(prop.name, prop)
  
          return obj
docs: Return a CIMInstance.
  
          The instance contains the properties, qualifiers and classname for
          the instance.
  
            ::
  
              <!ELEMENT INSTANCE (QUALIFIER*, (PROPERTY | PROPERTY.ARRAY |
                                               PROPERTY.REFERENCE)*)>
              <!ATTLIST INSTANCE
                  %ClassName;
                  xml:lang NMTOKEN #IMPLIED>