title: xslt rename tag with namespace
body: <p>i'm trying to rename a parent xml tag.
  i looked it up in stackoverflow and i saw the following code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"&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="Response_123"&gt;
  &lt;Response&gt;
    &lt;xsl:apply-templates select="@*|node()"/&gt;
  &lt;/Response&gt;
  &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>unfortunately, the code is not working for my requirement.
  in the sample below, the tag is associated with the namespace.</p>
  
  <pre><code>&lt;ns1:Response_123 xmlns:ns1="AAA"&gt;
  &lt;System&gt;Alpha&lt;/System&gt;
  &lt;/ns1:Response_123&gt;
  </code></pre>
  
  <p>when i use the code above, i still get the same message (no difference in any way). How can i change the output to:</p>
  
  <pre><code>&lt;ns1:Response xmlns:ns1="AAA"&gt;
  &lt;System&gt;Alpha&lt;/System&gt;
  &lt;/ns1:Response&gt;
  </code></pre>
  
  <p>I also tried adding namespace in the code, it did not work as well.</p>
  
  <pre><code>&lt;xsl:template match="Response_123" namespace="AAA"&gt;
  &lt;Response namespace="AAA"&gt;
    &lt;xsl:apply-templates select="@*|node()"/&gt;
  &lt;/Response&gt;
  &lt;/xsl:template&gt;
  </code></pre>
  
  <p>Thanks everyone!</p>