Packing of xml2