Exporting and importing data and definitions from XML
Exported objects in XML format comprise an XML document, which might also be referred to as an instance of a particular XML schema definition for that object. If the XML schema definitions are loaded into an XML editor, someone who is knowledgeable about AR System objects and XML can edit the XML document.
The XML schema definitions are designed to be similar to the definitions in the *.def files. For more information about the XML Schema definitions of AR System objects, see the data structure information in the C API Reference.
AR System XML definition files are used in the same way as the classic .def (definition) files.
To export objects
- Log in to Developer Studio.
- Select the file that you want to export.
- In the Save as type field, select AR XML Definition Files (*.xml).
To export AR System data to XML
- Log in to Mid Tier.
- Navigate to the AR Systemreports.
- Create a report in Mid Tier.
- Select ARXML as the file type when you run the report or save it to a file.
The data is ready to be manipulated in your XML editor or imported into your XML-compatible applications.
Using XML with the AR System API
AR System includes XML schema definitions and API calls that you can use to transform XML and AR System objects. The AR System API calls involving XML are divided into two categories:
- ARGet calls, which transform XML objects into AR System structures.
- ARSet calls, which transform AR System structures into XML objects.
These calls use the AR System API structures that are described in the ar.h file. For more information about the XML API calls, see the Developing-an-API-program.