• Identification by idabs
<?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 -->
<Add>
<Object metaclass.name="Procedure">
<Attribute metaattribute.name="Name">Procedure–1</Attribute>
<!-- object identifier attribute -->
<Attribute metaattribute.name="_IdAbs">MnJgyaAJ0100</Attribute>
</Object>
</Add>
<Delete>
<Object metaclass.name="Procedure">
<!-- object identifier attribute -->
<Attribute metaattribute.name="_IdAbs">MnJgyaAJ0100</Attribute>
</Object>
</Delete>
</Commands>
</MegaExchange>
Link description
Links are described by the <Link> tag..
The MetaAssociation of the link is identified by the name or MEGA absolute identifier (idabs in hexadecimal form) of the MetaAssociationEnd by which the objects are connected.
The name of the MetaAssociationEnd is specified by the value of the "metaassociationend.name" attribute of the <Link> tag.
The idabs of the MetaAssociationEnd is specified by the value of the "metaassociationend.id" attribute of the <Link> tag.
One of the attributes "metaassociationend.name" or "metaassociationend.id" must be present to identify the link. Both can be present simultaneously.
Hierarchical link in content mode
In content mode, a link can be represented hierarchically. The <Object> tag representing the first object therefore contains a <Link> tag which itself contains the <Object> tag describing the connected object.
The <Link> tag serves to specify the MetaAssociationEnd by which the second object is connected. To do this, we must therefore specify the "metaassociationend.name" attribute or the "metaassociationend.id" attribute.
In addition, the <Link> tag can contain <Attribute> tags describing link attribute values. These <Attribute> tags are placed before the <Object> tag.