< MagicTree Data Structure | Table of Contents | MagicTree XML Format >
MagicTree project file is a ZIP file containing a MagicTree XML file called "content.xml" and zero or more subdirectories with names corresponding to MagicTree object ids. For example, the contents of a project file may look like this:
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 10
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 11
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 12
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 176
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 177
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 178
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 27
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 28
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 29
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 32
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 33
drwxr-xr-x 2 alla alla 4096 2010-06-23 12:06 34
-rw-r--r-- 1 alla alla 16858 2010-06-15 22:12 content.xml
Subdirectories are created for objects that have attached files. Data objects, XML Data objects and Image objects usually have files attached to them, which are stored in a subdirectory of the project file.
In the example above the object with id=10 is represented as follows in content.xml:
<data id="10" status="none" filename="2f7fa972-ef2d-449f-9324-140f272469c4.4327377373336379511..LOG" class="MtDataObject">LOG</data>
The subdirectory 10 contains the file "2f7fa972-ef2d-449f-9324-140f272469c4.4327377373336379511..LOG":
-rw-r--r-- 1 alla alla 553 2010-06-15 22:12 2f7fa972-ef2d-449f-9324-140f272469c4.4327377373336379511..LOG
< MagicTree Data Structure | Table of Contents | MagicTree XML Format >