<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" encoding="utf-8" omit-xml-declaration="yes" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" media-type="application/xhtml+xml" indent="yes" />

<xsl:template match="/">
<xsl:apply-templates select="ProductInfo/Details" />
</xsl:template>

<xsl:template match="Details">
<xsl:variable name="asin" select="Asin" />
<xsl:variable name="name" select="ProductName" />
<xsl:variable name="aname" select="Artists" />
<xsl:variable name="image" select="ImageUrlSmall" />
<xsl:variable name="baseurl">http://www.amazon.co.jp/exec/obidos/redirect?tag=burnworksdesi-22&amp;creative=1211&amp;camp=247&amp;link_code=ur2&amp;path=ASIN/</xsl:variable>

<a>
<xsl:attribute name="href"><xsl:value-of select="concat($baseurl,$asin,'/')" /></xsl:attribute>
<img>
<xsl:attribute name="src"><xsl:value-of select="$image" /></xsl:attribute>
<xsl:attribute name="width">50</xsl:attribute>
<xsl:attribute name="height">50</xsl:attribute>
<xsl:attribute name="alt"><xsl:value-of select="$name" /></xsl:attribute>
</img>
</a>

</xsl:template>
</xsl:stylesheet>
