The following are classed as XML functions and are handled by the DOpusPluginHelperXML wrapper class. The Opus XML functions provide a simple nested interface (similar to DOM), with functions for storing and retrieving data in several different forms.
The core functions for loading and saving XML files are:
All XML nodes (including the root node returned by XMLCreateFile and XMLLoadFile) are represented by HANDLEs. All other functions take a HANDLE as the first parameter representing the particular node in the document.
All nodes, including the root nodes, have a name, may have attributes, and may have either a value or child nodes. The functions for setting and retrieving node names are:
A node that does not have a value can have child nodes. The functions for adding, deleting and traversing child nodes are:
Attributes may be set for any node, using several different data types. The functions for setting, retrieving and deleting node attributes are:
If a node does not have child-nodes, it may have a value. The value may be set using several different data types. The functions or setting and retrieving node values are: