on 2022 Sep 06 4:17 PM
Hi Everyone,
In sap cpi, I get XML as an output which is printed in a single line as below.
But I want the XML in the below format
Below are the attachments of XML response and required formats.
Could you please provide a solution for it ?
Thanks,
Vineetha
Hello Vineetha,
Use below XSLT after first XML and see if this is helpful to you.
<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>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.