topical media & game development

talk show tell print

mashup-amazon-11-11-02-RestaurantBrowser-AmazonItemiFrame.xsl / xsl



  <?xml version="1.0" encoding="utf-8" ?>
  <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:a="http://webservices.amazon.com/AWSECommerceService/2005-10-05">
    <xsl:output method="html" omit-xml-declaration="yes"/>
    <xsl:template match="/">
  <html><body>
      <xsl:apply-templates select="a:ItemLookupResponse/a:Items/a:Item" />
  </body></html>
    </xsl:template>
  
    <xsl:template match="a:Item">
      Title:<b><xsl:value-of select="a:ItemAttributes/a:Title"/></b><br/>
      ASIN: <xsl:value-of select="a:ASIN"/><br/>
      You could place whatever product details you'd like in here.     
    </xsl:template>
  </xsl:stylesheet>


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.