I teach myself XSLT, and I'm still trying to wrap my brain around small parts. I have a template in my XSL stylesheet that looks like this ...
<td><img src="{normalize-space(image)}"/></td>
which creates XHTML that looks like this:
<td><img src="somefile.jpg"></td>
How can I change my XSL template to add the final "/" to the img tag so that the XHTML output looks like this:
<td><img src="somefile.jpg"/></td>
Also, why does the trailing slash in the pattern omit the output?
Thanks in advance for your help!
source
share