Generate xml in enterprise/crypto