4.4. Conversion functions

This section describes conversion functions related to CIM objects and CIM data types:

Function

Purpose

tocimxml()

Return the CIM-XML representation of a CIM object or CIM data typed value as an Element object.

tocimxmlstr()

Return the CIM-XML representation of a CIM object or CIM data typed value as a unicode string.

cimvalue()

Return a CIM data typed value from a Python value.

cimtype()

Return the CIM data type name of a CIM data typed value.

type_from_name()

Return the Python type object for a CIM data type name.