Access Keys:
Skip to content (Access Key - 0)


9 Access to generated XML

Print this page

Find the XML file, and open it in the Project Explorer

You should be able to carry out all SIS-related tasks using the VIA's diagrams and features (so you wouldn't normally need access to the underlying XML). You can, however, look at the XML by using the Project Explorer view:

1 The Project Explorer view is hidden in the default perspective, so it is not automatically visible when you start VIA for the first time. To display it, click Show View > Project Explorer from the Window menu.

The Project Explorer displays next to the Problems View below the main editor window.

2 In the Project Explorer view, open the node of the project you are working on. All generated XML code is located in the xml subfolder.
3 To find the correct XML for a particular diagram component, you will need to find out its filename. To do this:
  • Display the diagram in the main editor window, by double-clicking the corresponding icon in the SISView.
  • Hover the mouse for 1-2 seconds over the diagram's tab.
    The filename (where the diagram is actually stored) displays as a little popup hint.
  • Replace the .comp, .trig or .mac extension of that name with .xml for the name of the file under which the XML which was generated for that component, in the xml subfolder of the Project Explorer.
4 Use the Project Explorer to open and view the .xml file directly in the VIA's text editor (or export it into the file system by right-clicking on the file and choosing Export... from the popup menu).
If you display the generated XML in the VIA's text editor, open the file as read-only. Manual changes to the generated XML code in the internal (or an external) text editor will NOT be updated into the diagram. In fact, VIA will simply overwrite any such changes without notice, the next time it generates the XML the diagram source.
Adaptavist Theme Builder Powered by Atlassian Confluence