[Libvirt-cim] [PATCH V2 35/48] Fix xml generation algorithm in input_xml()