MEGA Administration : Technical Articles (EN) : Description of MEGA Data Exchange XML Format : Format in Detail : Exchanged data description modes : Content exchange: <Content> tag : • Content description mode data exchange
   
Content description mode data exchange
<?xml version="1.0" encoding="ISO-8859-1"?>
<MegaExchange>
<Header>
<!-- document information -->
<Attribute metaattribute.name="xmg_version">XMG version 0.1</Attribute>
</Header>
<Content>
<!-- exchanged data -->
<Object metaclass.name="Procedure" id="1">
<Attribute metaattribute.name="Name">Procedure-1</Attribute>
</Object>
</Content>
</MegaExchange>
 
In content description mode, we can explicitly show the hierarchical view of exchanged data structure. In fact, tags describing objects can themselves contain other tags describing contained objects from a logical viewpoint (for example a procedure containing operations).
This hierarchical description is valid only in content description mode.