title: Simple XSLT Question: How can I add the closing "/" at the end of a single tag?
body: <p>I'm teaching myself XSLT and am still trying to wrap my brain around the small details.  I have a template in my XSL stylesheet that looks like this...</p>
  
  <pre><code>&lt;td&gt;&lt;img src="{normalize-space(image)}"/&gt;&lt;/td&gt;
  </code></pre>
  
  <p>which produces XHTML that looks like this...</p>
  
  <pre><code>&lt;td&gt;&lt;img src="somefile.jpg"&gt;&lt;/td&gt;
  </code></pre>
  
  <p>How do I change my XSL template to add a trailing "/" to the img tag so that the XHTML output looks like this...</p>
  
  <pre><code>&lt;td&gt;&lt;img src="somefile.jpg"/&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Also, why does the trailing slash in the template get omitted in the output?</p>
  
  <p>Thanks in advance for all your help!</p>