title: Need to add xsi to the namespace
body: <p>I have this as input </p>
  
  <pre><code>&lt;Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.002.001.03"&gt;
    &lt;CstmrPmtStsRpt&gt;
      &lt;GrpHdr&gt;
        &lt;MsgId&gt;&lt;/MsgId&gt;
        &lt;CreDtTm&gt;&lt;/CreDtTm&gt;
        &lt;InitgPty&gt;
          &lt;Id&gt;
            &lt;OrgId&gt;
              &lt;BICOrBEI&gt;&lt;/BICOrBEI&gt;
            &lt;/OrgId&gt;
          &lt;/Id&gt;
        &lt;/InitgPty&gt;
      &lt;/GrpHdr&gt;
      &lt;OrgnlGrpInfAndSts&gt;
        &lt;OrgnlMsgId&gt;&lt;/OrgnlMsgId&gt;
        &lt;OrgnlMsgNmId&gt;&lt;/OrgnlMsgNmId&gt;
        &lt;OrgnlNbOfTxs&gt;&lt;/OrgnlNbOfTxs&gt;
        &lt;OrgnlCtrlSum&gt;&lt;/OrgnlCtrlSum&gt;
        &lt;GrpSts&gt;&lt;/GrpSts&gt;
      &lt;/OrgnlGrpInfAndSts&gt;
    &lt;/CstmrPmtStsRpt&gt;
  &lt;/Document&gt;
  </code></pre>
  
  <p>I need below as my out put with having details of the xsi as well</p>
  
  <pre><code>&lt;Document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:iso:std:iso:20022:tech:xsd:pain.002.001.03"&gt;
  &lt;CstmrPmtStsRpt&gt;
          &lt;GrpHdr&gt;
            &lt;MsgId&gt;&lt;/MsgId&gt;
            &lt;CreDtTm&gt;&lt;/CreDtTm&gt;
            &lt;InitgPty&gt;
              &lt;Id&gt;
                &lt;OrgId&gt;
                  &lt;BICOrBEI&gt;&lt;/BICOrBEI&gt;
                &lt;/OrgId&gt;
              &lt;/Id&gt;
            &lt;/InitgPty&gt;
          &lt;/GrpHdr&gt;
          &lt;OrgnlGrpInfAndSts&gt;
            &lt;OrgnlMsgId&gt;&lt;/OrgnlMsgId&gt;
            &lt;OrgnlMsgNmId&gt;&lt;/OrgnlMsgNmId&gt;
            &lt;OrgnlNbOfTxs&gt;&lt;/OrgnlNbOfTxs&gt;
            &lt;OrgnlCtrlSum&gt;&lt;/OrgnlCtrlSum&gt;
            &lt;GrpSts&gt;&lt;/GrpSts&gt;
          &lt;/OrgnlGrpInfAndSts&gt;
        &lt;/CstmrPmtStsRpt&gt;
      &lt;/Document&gt;
  </code></pre>
  
  <blockquote>
    <p>I am currently using xslt as which i am trying to use for putting
    namespace and xsi, but as i cannot use this on my receive port due to
    the fact i need to use pass through pipeline</p>
  </blockquote>
  
  <pre><code>*&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
      &lt;xsl:output indent="yes"/&gt;
      &lt;xsl:template match="@*|text()|comment()|processing-instruction()"&gt;
          &lt;xsl:copy&gt;
              &lt;xsl:apply-templates select="@*|node()"/&gt;
          &lt;/xsl:copy&gt;
      &lt;/xsl:template&gt;
  
      &lt;xsl:template match="/Document"&gt;
          &lt;Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.002.001.03" 
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt; 
               &lt;xsl:apply-templates select="@*|node()"/&gt;           
          &lt;/Document&gt;
      &lt;/xsl:template&gt;
  
      &lt;xsl:template match="*"&gt;
          &lt;xsl:element name="{local-name()}" namespace="urn:iso:std:iso:20022:tech:xsd:pain.002.001.03"&gt;
              &lt;xsl:apply-templates select="@*|node()"/&gt;
          &lt;/xsl:element&gt;
      &lt;/xsl:template&gt;
  </code></pre>
  
  <p>*</p>
  
  <p>Need assistance on the same</p>