Form data to XML / ADF format