on 01-21-2021 12:26 PM
Hello Experts,
I am working on an Integration between SF and CPI wheres the desired output file is XML.
After generating output XML file, Client is unable to process it at their end saying Line breaks are missing in the file and seeing the whole of it in one single line.
Can someone please help me how to add the Line breaks in the XML file. Receiver end it's a SFTP server.
Thanks in advance,
Best Regards,
Sree
Hi sreekar,
You could use XSLT mapping to indent the output.
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="node()|@*"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Hope this helps !
thanks and regards,
Praveen T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.