MEGA Administration : Technical Articles (EN) : Description of MEGA Data Exchange XML Format : Introduction
   
Introduction
MEGA allows you to import and export data in a standard XML exchange format.
Data contained in MEGA data XML documents can be described in the form of commands as for MGR, MGL or MGE documents. It can also be described in Content mode. Content mode now allows processing of sets of objects independently, free of any context (see Content exchange: <Content> tag, Content Mode, Hierarchical link in content mode).
Importing an XML document in a MEGA repository means executing or creating the commands it contains in this repository.
Exporting MEGA (objects, command) consists of dispatching this data in XML standard format. MEGA data exchange XML documents can also be created by software external to MEGA with a view to integrating the data they contain in a MEGA repository. Finally, they can be created manually.
You will find the XSD schema (“xmlmega.xsd”) of MEGA data exchange XML files in the MEGA installation "system" directory.
An XSLT style sheet is also provided in the MEGA installation "system" directory, which presents MEGA data exchange XML documents. This style sheet is provided only as an example.
Note: References to documentation concerning the following are given in the glossary: MEGA metamodel, XML language, importing a data file, exporting a data file.