[Libvirt-cim] [PATCH 34/47] Fix xml generation algorithm in input_xml()