Preparing for xml setup to be transfered.