If the form is databound, (IE has a specified dataSource property), a call to saveData() will automatically serialize the form's values to the appropriate format when sending them to the server.
Similarly calls to other data-binding methods such as DataSource.filterData(), and ListGrid.filterData() take Javascript objects (such as the result of a form.getValues() call) and automatically convert them to the appropriate format when passing them to the server.
It's likely that a mechanism is in place to handle the format conversion to XML for you - what is it you're trying to achieve here?
Thanks
Comment