We are trying to move form data that has the following structure. The default encoding in our system is to send the file as xml serialization. The button on the page is defined in our properties-local.xml. However, the API we are trying to send this to does not recognize xml serialization: it will recognize html form serialiation, and we sent the following xml that way to confirm that it moves through the API without trouble. My question is: is there a way to override the default serialization in one form, even though the button is defined in properties-local.xml? We can't change the default serialization itself as it would break many forms.
<?xml version="1.0" encoding="UTF-8"?>
<ministry>Ministry of Poultry</ministry>