code: def parse_value_objectwithlocalpath(self, tup_tree):
          
  
          self.check_node(tup_tree, 'VALUE.OBJECTWITHLOCALPATH')
  
          k = kids(tup_tree)
  
          if len(k) != 2:
              raise CIMXMLParseError(
                  _format("Element {0!A} has invalid number of child elements "
                          "{1!A} (expecting two child elements "
                          "((LOCALCLASSPATH, CLASS) | (LOCALINSTANCEPATH, "
                          "INSTANCE)))", name(tup_tree), k),
                  conn_id=self.conn_id)
  
          if name(k[0]) == 'LOCALCLASSPATH':
              # Note: Before pywbem 0.12, CIMClass did not have a path, therefore
              # classpath and class were returned as a tuple. In pywbem 0.12,
              # CIMClass got a path, but they are still returned as a tuple.
              class_path = self.parse_localclasspath(k[0])
              klass = self.parse_class(k[1])
              klass.path = class_path
              _object = (class_path, klass)
          else:  # LOCALINSTANCEPATH
              # convert tuple to CIMInstance object with path set
              inst_path = self.parse_localinstancepath(k[0])
              _object = self.parse_instance(k[1])
              _object.path = inst_path
  
          return (name(tup_tree), attrs(tup_tree), _object)
docs: ::
  
              <!ELEMENT VALUE.OBJECTWITHLOCALPATH ((LOCALCLASSPATH, CLASS) |
                                                  (LOCALINSTANCEPATH, INSTANCE))>
  
          Returns:
              tupletree with child item that is:
              - for class-level use: a tuple(CIMClassName, CIMClass) where the
                path of the CIMClass object is set (with namespace).
              - for class-level use: a CIMInstance object with its path set
                (with namespace).