Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <?xml version="1.0" ?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3 <xsl:template match="root">
4 <html><body><xsl:apply-templates select="item" /></body></html>
5 </xsl:template>
6 <xsl:template match="item">
7 <img>
8 <xsl:attribute name="src">
9 <xsl:value-of select="@name" />
10 </xsl:attribute>
11 </img>
12 </xsl:template>
13 </xsl:stylesheet>