eix - XML output format

Authors: Martin Väth <vaeth AT mathematik DOT uni-wuerzburg DOT de> (active)
Emil Beinroth <emilbeinroth AT gmx DOT net> (active)
Wolfgang Frisch <xororand AT users DOT sourceforge DOT net> (inactive)
Copyright: This file is part of the eix project and distributed under the terms of the GNU General Public License v2.

This article describes the format of the XML output (i.e. with the --xml option) of eix. The file eix-xml.xsd contains a more accurate description (as an xml-schema). The current version of the format is 11 (eix 0.30.4); this number occurs in the format itself as the version attribute of the eixdump element.

<?xml version='1.0' encoding='UTF-8'?>

<eixdump version="11">

<category name=" name of 1st category ">

<package name=" name of 1st package ">

<description> ... </description>

<homepage> ... </homepage>

<licenses> ... </licenses>

<version id=" 1st version of 1st package " [possibly further version attributes (see below), separated by spaces] >

[possibly version elements (see below), separated by newlines and tabs]

</version>

[..]

</package>

<package name=" name of 2nd package of 1st category ">

[..]

</package>

[..]

</category>

<category name=" name of 2nd category ">

[..]

</category>

[..]

</eixdump>

Version Attributes

The following attributes for versions can occur. Except for id, all of them are optional.

Version Elements

The following elements are used within a version. Each of them may or may not occur, depending on the configuration and the version data.