This patch adds support for XML output to be returned at the discretion of the ComponentAPI.
To set the response type to XML you can simply add the following to any method in a class implementing the MashapeRestAPI (e.g. /api.php):
If you want to change the name of the root XML node (from the default ) then simply pass in the new name for the root node as the only parameter to the function:
XML support may also need to be patched to the client libraries.
Add optional XML output directive + code for API call responses