code: def tocimxmlstr(self, indent=None, ignore_host=False,
                      ignore_namespace=False):
          
          xml_elem = self.tocimxml(ignore_host, ignore_namespace)
          return tocimxmlstr(xml_elem, indent)
docs: Return the CIM-XML representation of this CIM instance path,
          as a :term:`unicode string`.
  
          *New in pywbem 0.9.*
  
          For the returned CIM-XML representation, see
          :meth:`~pywbem.CIMInstanceName.tocimxml`.
  
          Parameters:
  
            indent (:term:`string` or :term:`integer`):
              `None` indicates that a single-line version of the XML should be
              returned, without any whitespace between the XML elements.
  
              Other values indicate that a prettified, multi-line version of the
              XML should be returned. A string value specifies the indentation
              string to be used for each level of nested XML elements. An integer
              value specifies an indentation string of so many blanks.
  
            ignore_host (:class:`py:bool`): Ignore the host of the
              instance path, even if a host is specified.
  
            ignore_namespace (:class:`py:bool`): Ignore the namespace and host of
              the instance path, even if a namespace and/or host is specified.
  
          Returns:
  
              The CIM-XML representation of the value, as a
              :term:`unicode string`.