Hi Gurus,
I am trying to add a Namespace to inbound xml and I wrote a simple XSLT mapping as below, when I execute this using XML spy or in Operation mapping manually it is working fine and giving me output as expected but at runtime it is not executing, I am getting same input xml as output xml and receiver agreement is failing...
Appreciate your thoughts..
<?xml version="1.0" encoding="UTF-8"?>
http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8"/>
<xsl:template match="*">
company.com/H/sndr">
<xsl:copy-of select="//SalesReportInfo"/>
</ns0:SalesXmlExtended>
</xsl:template>
</xsl:stylesheet>
input xml is as below....
<?xml version="1.0" encoding="UTF-8"?>
<SalesXmlExtended>
<SalesReportInfo>
<SalesReport>
<Detail>
<deptNum>0270</deptNum> etc...
output I am getting in XMLSpy and OM is as below, this is exactly what I need...
<?xml version="1.0" encoding="UTF-8"?>
company.com/H/sndr">
<SalesReportInfo>
<SalesReport>
<Detail>
<deptNum>0270</deptNum>
.....
Thanks...
Sukarna...