XML Output

Output to an XML file is possible when the --medium option is set to ’XML’. The most basic command to do this is:

qacli view -P . -m XML

This will output the entire project, which is based in the current directory. As no output directory is specified a directory called _SOURCE_ROOT will be created in the current directory and the files will be located underneath in a tree structure mirroring the source directories. The files will be named similarly to the original source files but with the extension -diaglist.xml. If annotated source format is requested then the name will end with -annsrc.xml. For example:

qacli view -P . -m XML -a

Each file contains a standard set of elements which are described in detail below. Additionally, the content can be enhanced by using the following options: --xml-format, --format, and --type=ANNSRC.