cancel
Showing results for 
Search instead for 
Did you mean: 

Need to add namespace in xslt code

Former Member
0 Kudos

We need to add response namespace in XSLT, Can you please add my namespace the corresponding XSLT Code

The original xslt code:

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

    <xsl:output indent="yes"/>

    <xsl:template match="@* | node()">

        <xsl:copy>

            <xsl:apply-templates select="@* | node()"/>

        </xsl:copy>

    </xsl:template>

    <xsl:template match="soapenv:*">

        <xsl:apply-templates select="@* | node()"/>

    </xsl:template>

</xsl:stylesheet>

Need to add the below namespace the above code:

http://lichtsinfotech.com/HRT/G111/YourPaynxst

Please help on this.

Message was edited by: Moderator

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

This is pretty simple. Just see sample code provided by Stefan in this thread

http://scn.sap.com/thread/1728944

nabendu_sen
Active Contributor
0 Kudos

Hi Venkat,

Check the below thread, the xslt code is mentioned.

Regards,

Nabendu.