IPersistXML Interface

The IPersistXML interface is implemented by an object that needs to read or write its data as XML-formatted text. For example, in the context of the Order Processing pipeline (OPP), it is used to map the contents of a business data object to its Extensible Markup Language (XML) equivalent.

The Dictionary object also implements this interface, allowing the entries in a Dictionary object to be converted into an XML-formatted string, and back again.

The IPersistXML interface supports the following methods:

Method

Description

LoadXML

Loads data from a string that contains the data in its XML representation.

SaveXML

Saves data in its XML representation, writing the result to a string.

Remarks

Header: Commerce.h

IDL File: Commerce.idl