Skip to Content

HCI Capture data after message mapping

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

capture18.png (17.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 11, 2017 at 02:55 AM

    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

    Add comment
    10|10000 characters needed characters exceeded