Generator of XML messages