Dear Experts,
I have a requirement to convert an XML file to a flat file(text file) in a particular scenario. I am using the MessageTransfrom bean for this particular purpose. However, since this text file should not have any special characters, I am not able to create it due to the fact that the 'xml.fieldSeparator' attribute is mandatory for the MessageTransform bean.
I am also not able to use the 'xml.fieldFixedLengths' attribute because the input file has many blank spaces which must be displayed in the output file as they are. This is causing the channel to throw an error.
Since both the above mentioned attributes are mandatory for the MessageTransform bean, I have not been able to come up with a solution for this problem till now.
Is there any method to work around these two attributes?
Kindly provide any information that might be helpful to my situation.
Regards,
Pritish