title: i want to adding "xmlns" attribute in xml file using xslt
body: <p>I want to following xml file output:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt; 
  - &lt;T0020 xsi:schemaLocation="http://www.safersys.org/namespaces/T0020V1 T0020V1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.safersys.org/namespaces/T0020V1"&gt;
  - &lt;INTERFACE&gt;
    &lt;NAME&gt;SAFER&lt;/NAME&gt; 
    &lt;VERSION&gt;04.02&lt;/VERSION&gt; 
    &lt;/INTERFACE&gt;
  </code></pre>
  
  <p>for that i have following xslt file:
   </p>
  
  <pre><code>&lt;xsl:template match="T0020" &gt;
      &lt;xsl:copy&gt;
      &lt;xsl:attribute name="xsi:schemaLocation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.safersys.org/namespaces/T0020V1 T0020V1.xsd &lt;/xsl:attribute&gt;
  
    //some code here...............//
  
   &lt;xsl:copy&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>so i add xmlns="http://www.safersys.org/namespaces/T0020V1" attribute under <code>&lt;T0020&gt;</code> tag??</p>