We are integrating with a legacy application running in a windows server, it has a XML processor but the issue is it can accept and process an XML file only if it is in specific format. the Format is every tag should be in a new Line. We Formatted the same in the XML stream rule while generating the file. we opened the generated XML file in NOTEPAD++, it was displaying everything in new line.
but, our Pega instance is in LINUX server. In Linux the new line is /n, but the consuming system is in Windows where the new line is /r/n. We have to insert somehow forcibly inside the generated XML the /r/n, so that the Windows system can recognize our XML input file.
to test whether the generated XML file has proper /r/n, we are opening the same in NOTEPAD. because NOTEPAD can recognize only /r/n.
Thanks for the reply, but when we insert the /r/n it is treating it as a plan text and NOTEPAD is not treating or interpreting it as Carriage return. Dont know the exact syntax to include to the XML tags while generating.
Posted: 6 years ago
Posted: 2 Nov 2015 13:35 EST
Phani Sahukaru (sahup1)
Architect - Financial Services