title: Add attribute to tag with XSLT
body: <p>I have a few svg documents with a 1-n Path elements now i wanted to change the color of those path elements.</p>
  
  <p>i have haven't found a way to do this</p>
  
  <p>Svg example document:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no"?&gt;
  &lt;svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" height="45" width="45" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"&gt;
  &lt;g transform="matrix(1.25,0,0,-1.25,0,45)"&gt;
  &lt;path d="m9 18h18v-3h-18v3"/&gt;
  &lt;/g&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p>XSLT:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' version='1.0'&gt;
  &lt;xsl:template match='path'&gt;
  &lt;xsl:copy&gt;
  &lt;xsl:attribute name='fill'&gt;red&lt;/xsl:attribute&gt;
  &lt;/xsl:copy&gt;
  &lt;/xsl:template&gt;
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <p>What do i need to change to make it add/change the fill attribute to red?</p>