Use a separate buffer for <input> subelements
Use a separate buffer for <input> subelements

Instead of figuring out upfront whether <input> will be a single
or a pair element, format the subelements into a separate buffer
and close <input/> early if this buffer is empty.

olafhering/libvirt,libvirt/libvirt,eskultety/libvirt,andreabolognani/libvirt,crobinso/libvirt,datto/libvirt,datto/libvirt,crobinso/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,andreabolognani/libvirt,olafhering/libvirt,nertpinx/libvirt,jardasgit/libvirt,datto/libvirt,jardasgit/libvirt,libvirt/libvirt,datto/libvirt,olafhering/libvirt,zippy2/libvirt,libvirt/libvirt,nertpinx/libvirt,jfehlig/libvirt,eskultety/libvirt,VenkatDatta/libvirt,eskultety/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,jardasgit/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,crobinso/libvirt,nertpinx/libvirt,datto/libvirt,eskultety/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,zippy2/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,zippy2/libvirt,andreabolognani/libvirt,eskultety/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,zippy2/libvirt,andreabolognani/libvirt,olafhering/libvirt,fabianfreyer/libvirt,jfehlig/libvirt