<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
	<xsl:output method="html" encoding="UTF-8" />
	<xsl:template match="/" >
		<html>
		<head>
		</head>
		<body>
		<xsl:apply-templates select="ProductInfo/Details" />
		</body>
		</html>
	</xsl:template>
	<xsl:template match="Details">
		<table border="0"><tbody><tr>
		<td style="padding:8px; vertical-align:top">
			<xsl:element name="a">
				<xsl:attribute name="href"><xsl:value-of select="@url" /></xsl:attribute>
				<xsl:attribute name="target">_blank</xsl:attribute>
				<xsl:element name="img">
					<xsl:attribute name="border">0</xsl:attribute>
					<xsl:attribute name="height">208</xsl:attribute>
					<xsl:attribute name="align">left</xsl:attribute>
					<xsl:attribute name="src"><xsl:value-of select="ImageUrlLarge" /></xsl:attribute>
					<xsl:attribute name="alt"><xsl:value-of select="ProductName" /></xsl:attribute>
					<xsl:attribute name="title"><xsl:value-of select="ProductName" /></xsl:attribute>
				</xsl:element>
			</xsl:element>
		</td>
		<td style="padding:8px; vertical-align:top">
			<div style="color:blue; font-size:16px; line-height:120%; font-weight:bolder; padding:8px; padding-bottom:16px">
				<xsl:for-each select="Authors"><xsl:value-of select="Author" />&#x20;</xsl:for-each><br />
				『<xsl:element name="a"><xsl:attribute name="href"><xsl:value-of select="@url" /></xsl:attribute><xsl:attribute name="target">_blank</xsl:attribute><xsl:value-of select="ProductName" /></xsl:element>』
			</div>
			<div style="padding:0px; padding-left:16px">
				<table style="color:brown; font-size:14px; line-height:100%; font-weight:bolder; vertical-align:top"><tbody>
					<tr><td>発行所</td><td>:</td><td><xsl:value-of select="Manufacturer" /></td></tr>
					<tr><td>定価</td><td>:</td><td><xsl:value-of select="ListPrice" />　
					<xsl:choose><xsl:when test="OurPrice[.!='']">(Amazon:<xsl:value-of select="OurPrice" />)　</xsl:when></xsl:choose>
					<xsl:choose><xsl:when test="UsedPrice[.!='']">(Used:<xsl:value-of select="UsedPrice" />)　</xsl:when></xsl:choose>
					</td></tr>
					<tr><td>コード</td><td>:</td><td>ISBN<xsl:value-of select="Asin" /></td></tr>
					<tr><td>発行日</td><td>:</td><td><xsl:value-of select="ReleaseDate" /></td></tr>
				</tbody></table>
			</div>
		</td>
		</tr></tbody></table>
	</xsl:template>
</xsl:stylesheet>
