blob: 4cf68179fa5e56b83dddda0c8f2f52c3a214fe98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<?xml version="1.0" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="root">
<html><body><xsl:apply-templates select="item" /></body></html>
</xsl:template>
<xsl:template match="item">
<img>
<xsl:attribute name="src">
<xsl:value-of select="@name" />
</xsl:attribute>
</img>
</xsl:template>
</xsl:stylesheet>
|