Clean up XML output
authorMatthew Booth <mbooth@redhat.com>
Fri, 26 Jun 2009 10:29:14 +0000 (11:29 +0100)
committerMatthew Booth <mbooth@redhat.com>
Sat, 27 Jun 2009 21:20:42 +0000 (22:20 +0100)
commit66f728d4f84306cef689a6150c5a1aec3c765508
treed2996e902dd252ed793c373084f0e04044f8c583
parent247225c4415b28d02a82b7fc4dfdd35728437711
Clean up XML output

This change makes XML use XML::Writer, and modifies the output in the
following 2 ways:

* /operatingsystems/operatingsystem/os is renamed to
  /operatingsystems/operatingsystem/name

* /operatingsystems/kernels/version becomes an attribute of
  /operatingsystems/kernel for consistency with initrds
inspector/virt-inspector.pl