As per requirement ,I have done some changes to response mapping which is coming from 3rd party (SOAP) by using XSLT mapping.Now i need to add URL to root node of the Response mapping by using XSLT mapping .
for above requirement : i have tried below code but it's not success
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- This XLST extracts the authorities' web service response into the expected proxy structure. -->
<!-- <xsl:variable name="test" select="local-name(//*[local-name()='Body']/*[1])"/> -->
<xsl:template match="*">
<ns0:InResponse xmlns:ns0="http://sankar.com/xi/isankar/SD">
<xsl:element name="{local-name()}">
<!-- <xsl:copy copy-namespaces="no"> -->
<xsl:apply-templates select="@*|node()" />
<!-- </xsl:copy> -->
</xsl:element>
</ns0:InResponse>
</xsl:template>
</xsl:stylesheet>
Could you pls share related links or give me some approaches to resolve the issue?
Thanks,
Sankar