-
Notifications
You must be signed in to change notification settings - Fork 0
Importing and Exporting Attack Trees
Attack Tree Designer allows users to export/import their models into XML Files.
Import
You can import a tree or a package of trees from XML saved file or from a directory containing XML files. Each tree is represented by an XML file and each package is represented by a directory. To import a tree or a package, simply right click the destination package that you want to import your trees in, then select "Import a package" or "Import a tree" and finally select the path of the file or directory from the dialog as it is illustrated in Figure 1.
Figure 1 : Import a package containing attack trees
Export
You can export an attack tree or a package containing attack trees by simply right clicking the element you want to export and then indicate where you want to export the model in your File System by using the dialog as illustrated by Figure 2.
Figure 2 : Export a package containing attack trees
XML Format
The XML format of the attack trees follows a specific schema that is described by the XSD file: [AttackTree-V0.5.xsd](http://forge.modelio.org/attachments/download/22604/AttackTree-V0.5.xsd). Here is a sample of an XML file representing the export of the model of an Attack Tree : [Tree.xml](http://forge.modelio.org/attachments/download/22605/Tree.xml).