title: How to remove xsi: attributes in PI XSLT mapping?
body: <p>I am working on SAP NW PI (Process Integration) at current we have a inbound Payload from a Third party System using SOAP the Payload is similar to</p>
  
  <pre><code>&lt;GetReportBlock_C4C_-_Pre_Call_Preparation_Part2Response xmlns="C4C_Pre_Call_Preparation_Part2"&gt;
       &lt;headers&gt;
          &lt;row&gt;
             &lt;cell xsi:type="xsd:string"&gt;Account&lt;/cell&gt;
             &lt;cell xsi:type="xsd:string"&gt;Product Group - Key&lt;/cell&gt;
             &lt;cell xsi:type="xsd:string"&gt;Product Group - Medium Text&lt;/cell&gt;
             &lt;cell xsi:type="xsd:string"&gt;Gross Sales (USD)&lt;/cell&gt;
          &lt;/row&gt;
       &lt;/headers&gt;
       &lt;table&gt;
          &lt;row&gt;
             &lt;cell xsi:type="xsd:string" xsi:nil="true"/&gt;
             &lt;cell xsi:type="xsd:string" xsi:nil="true"/&gt;
             &lt;cell xsi:type="xsd:string" xsi:nil="true"/&gt;
             &lt;cell xsi:type="xsd:double" xsi:nil="true"/&gt;
          &lt;/row&gt;
       &lt;/table&gt;
       &lt;user&gt;XXX&lt;/user&gt;
       &lt;documentation&gt;C4C - Pre Call Preparation_Part2&lt;/documentation&gt;
       &lt;documentname&gt;C4C Pre Call Preparation - Part_2&lt;/documentname&gt;
       &lt;lastrefreshdate&gt;2018-06-08T10:21:41.0&lt;/lastrefreshdate&gt;
       &lt;creationdate&gt;2018-05-29T10:33:25.438&lt;/creationdate&gt;
       &lt;creator&gt;XXX&lt;/creator&gt;
       &lt;isScheduled&gt;XXX&lt;/isScheduled&gt;
       &lt;tableType&gt;XXXX&lt;/tableType&gt;
       &lt;nbColumns&gt;X/nbColumns&gt;
       &lt;nbLines&gt;X&lt;/nbLines&gt;
    &lt;/GetReportBlock_C4C_-_Pre_Call_Preparation_Part2Response&gt;
  </code></pre>
  
  <p>The first problem that the namespace should have prefix ns0 on every element. this problem was fixed using below XSLT Mapping</p>
  
  <pre><code>        &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="C4C_Pre_Call_Preparation_Part2"&gt;
      &lt;xsl:output omit-xml-declaration="yes" indent="yes"/&gt;
      &lt;xsl:template match="node()|@*"&gt;
          &lt;xsl:copy&gt;
              &lt;xsl:apply-templates select="node()|@*"/&gt;
          &lt;/xsl:copy&gt;
      &lt;/xsl:template&gt;
      &lt;xsl:template match="*"&gt;
          &lt;xsl:element name="ns0:{name()}" namespace="C4C_Pre_Call_Preparation_Part2"&gt;
              &lt;xsl:copy-of select="namespace::*"/&gt;
              &lt;xsl:apply-templates select="node()|@*"/, how should i accomplish this.
  &gt;
          &lt;/xsl:element&gt;
      &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>Now my problem is to remove xsi attributes from elements, how should I accomplish this?</p>