title: how to add xsl attribute
body: <p>I have an xml with img tag</p>
  
  <pre><code>&lt;img&gt;
  source
  &lt;/img&gt;
  </code></pre>
  
  <p>I want to generate:</p>
  
  <pre><code>&lt;img src="source.jpg"&gt;
  </code></pre>
  
  <p>I tried something like that:</p>
  
  <pre><code>&lt;img&gt;
  &lt;xsl:attribute name="src"&gt;
    &lt;xsl:text&gt;
          &lt;xsl:value-of select="node()" /&gt;.jpg
        &lt;/xsl:text&gt;
      &lt;/xsl:attribute&gt;
  &lt;/img&gt; 
  </code></pre>
  
  <p>but it doesng work</p>