You could also construct your own xml data in hidden fields.
This example is for making a csv file but you could do the same by building the xml structure:
this.rawValue = empSub.AeroplanNumber.rawValue + "," +
empSub.EMPLastName.rawValue + "," +
empSub.EMPFirstName.rawValue + "," +
empSub.AeroplanNumber.rawValue + "," +
areacode + "," +
phonenumber + "," +
empSub.EMPEmail.rawValue + "," +
accountSub.Client.rawValue + "-" +
accountSub.Responsibility.rawValue + "-" +
accountSub.ServiceLine.rawValue + "-" +
accountSub.Project.rawValue + "," +
privSub.Privileges.rawValue + "," +
empSub.EMPMinistry.rawValue;