MEGA Administration : Technical Articles (EN) : Description of MEGA Data Exchange XML Format : Format in Detail : Object Descriptions : Command Mode : • Object modification command
   
Object modification command
<?xml version="1.0" encoding="ISO-8859-1"?>
<MegaExchange>
<Header>
<!-- document information -->
<Attribute metaattribute.name="xmg_version">XMG version 0.1</Attribute>
</Header>
<Commands>
<!-- exchanged commands -->
<Replace>
<Object metaclass.name="Procedure">
<!-- object identifier attribute -->
<Attribute metaattribute.name="_IdAbs">MnJgyaAJ0100</Attribute>
<!-- modified attribute -->
<Attribute metaattribute.name="Code-Procedure">XYZ</Attribute>
</Object>
</Delete>
</Commands>
</MegaExchange>
 
Content Mode
In content description mode, <Object> tags describing objects are contained in the <Content> tag.
The <Object> tag describing the object can if necessary contain an <Extension> tag containing information not allowed for by MEGA XML format. It also contains <Attribute> tags specifying attribute values characterizing this object. These tags follow the <Extension> tag if this is present.
In addition, in content description mode, objects can be described as containing other objects. The <Object> tag can therefore indirectly contain other <Object> tags describing contained objects (see Hierarchical link in content mode).
The same considerations apply to <Object> tags representing contained objects, which can themselves contain <Object> tags.