title: xsl attribute namespace
body: <p>I have the following xml </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;content&gt;
    &lt;artwork classification="12" href="1.jpg"/&gt;
    &lt;artwork classification="10" href="2.jpg"/&gt;
  &lt;/content&gt;
  </code></pre>
  
  <p>When applying the xsl</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="iso-8859-1"?&gt;
  &lt;xsl:stylesheet version="1.0"
                  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                  xmlns:xlink="http://www.w3.org/1999/xlink"
                  &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="@href"&gt;
      &lt;xsl:attribute name="xlink:href"&gt;
        &lt;xsl:value-of select="."/&gt;
      &lt;/xsl:attribute&gt;
    &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>it produces</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;content&gt;
    &lt;artwork classification="12" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="1.jpg"/&gt;
    &lt;artwork classification="10" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="2.jpg"/&gt;
  &lt;/content&gt;
  </code></pre>
  
  <p>whereas I need </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;content xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
    &lt;artwork classification="12"  xlink:href="1.jpg"/&gt;
    &lt;artwork classification="10"  xlink:href="2.jpg"/&gt;
  &lt;/content&gt;
  </code></pre>
  
  <p>How should I modify my xsl to get the result I need?</p>
  
  <p>I use xalan XSLT processor.</p>