<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:aws="http://webservices.amazon.com/AWSECommerceService/2005-10-05">
  <xsl:output method="html" encoding="euc-jp"/>


<xsl:template match="/">

  <xsl:apply-templates select="aws:ItemLookupResponse/aws:Items/aws:Item"/>

</xsl:template>

<xsl:template match="aws:Items/aws:Item">




<a>
	<xsl:attribute name="href">
		<xsl:value-of select="aws:DetailPageURL" />
	</xsl:attribute>
	<xsl:attribute name="target">_blank</xsl:attribute>

<img>
	<xsl:attribute name="src">
		<xsl:value-of select="aws:MediumImage/aws:URL"/>
	</xsl:attribute>
	<xsl:attribute name="alt">
		<xsl:value-of select="aws:ItemAttributes/aws:Title"/>
	</xsl:attribute>
	<xsl:attribute name="class">mid</xsl:attribute>
</img>

</a>

<a>
	<xsl:attribute name="href">
		<xsl:value-of select="aws:DetailPageURL" />
	</xsl:attribute>
	<xsl:attribute name="target">_blank</xsl:attribute>
	<strong>
	<xsl:value-of select="aws:ItemAttributes/aws:Title"/>
	</strong>
</a>
<br />


	<xsl:value-of select="aws:ItemAttributes/aws:Author"/>
<br />

	<xsl:value-of select="aws:ItemAttributes/aws:ListPrice/aws:FormattedPrice"/>
<xsl:text> / </xsl:text>
	<xsl:value-of select="aws:ItemAttributes/aws:Publisher"/>
<br />

<xsl:text> ( </xsl:text>
<xsl:value-of select="aws:ItemAttributes/aws:PublicationDate"/>
<xsl:text> ) </xsl:text>
<br />

	<xsl:value-of select="aws:Offers/aws:Offer/aws:OfferListing/aws:Availability"/>
<br />


  </xsl:template>

</xsl:stylesheet>
