Conversion of XML file to a comma separated ASCII file
with many turns until finally understanding detailed the problem and providing a solution.
In between many other solutions have been provided in this thread.
This stylesheet generates a CSV (comma seperated values) file from an XML file.
The response returned from backend contains a 12 byte Non-XML prefix before XML.
This stylesheet strips the Non-XML data, verifies the binary prefix correctness, and does XML validation for the rest.
But you can set frontside timeout of DataPower service to eg. 1second and use this as a workaround. ..."