on 10-10-2017 10:42 AM
Hi Team,
when the message mapping is done, I want to redesign the XML output that is generated by the mapping.
How can I retrieve the output? Because the content modifier is generating an error message when I put in the body the syntax <bd>{in.body}</bd>. capture18.png
So my question is where is the data which has been generated by the message mapping?
Thanks, KR,
MAssarrar
Hello Assrar,
Basically this error happens when your XML message has 2 declaration tags.Post your message mapping you have to remove the one and create a XML structure you want to build.
Add XSLT mapping after Message Mapping which will remove the xml tag and then you can add content modifier to make your output look like <bd>{in.body}</bd>
XSLT :
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration="yes" />
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Regards,
Sriprasad Shivaram Bhat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.