Fix xml issue

Fix issue with generation of XML in commit, b98dc69218446b20099fa2c48e08bb897c0fc749.