add xml for the output