Meego Wiki
Views

AgileBrowser/ABXML

From MeeGo wiki
< AgileBrowser
Revision as of 19:13, 19 May 2011 by Villeez (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

Elements are described with tag name e, dependencies (or relationships) with tag name r and attributes with tag name a. Dependencies are directed and declared in the source side. The target of the dependency is referred with numeric id to keep format compact. Those elements that are not associated with incoming dependencies do not need numeric identifiers, like in the example below.

Example

Refer to [AgileBrowser/Deps] for clarification.

<?xml version='1.0' encoding='UTF-8'?>
<model version="2.0">
 <elements t="architecture">
   <a n="model_creation_time" v="2011-01-17T15:13:32.810000+02:00" />
   <e n="Applications">
     <e n="FooApp" t="QMLApp">
       <r r="1" t="uses"/>
     </e> 
   </e>
   <e n="System">
     <e i="1" n="baz">
       <a n="license" v="LGPL"/>
     </e>
   </e>
 </elements>
</model>
Personal tools