E-commerce For Everyone - Amazon Storefront Solutions

Need help with XSLT ???

Hi there,

I have a simple REST request that uses a Style attrib that points to an xsl file.  The response I keep getting is not formatted at all.

REST Request:
http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService
&AWSAccessKeyId=[Dev ID]
&Operation=ItemLookup
&ItemId=0142002267
&ResponseGroup=Medium,OfferSummary,SalesRank
&ContentType=text/html
&Version=2007-07-16
&Style=http://www.thewritersquery.com/test.xsl

TEST.XSL:

<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl=" http://www.w3.org/1999/XSL/Transform" Version="1.0"
xmlns:aws=" http://webservices.amazon.com/AWSECommerceService/2007-07-16">

<xsl:template match="/">


<html><body>

XSLT Results
<hr />

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

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

ASIN: <xsl:value-of select="aws:ASIN" />

</body>
</html>

</xsl:template>

</xsl:stylesheet>

Response I get:

1FSKGNN3JPDAGHKR4D9E0.0468161106109619True0142002267MediumOfferSummarySalesRank0142002267 http://www.amazon.com/gp/redirect.html%3FASIN=0142002267%26tag=ws%26lcode=xm2%26cID=2025%26ccmID=165953%26location=/o/ASIN/0142002267%253FSubscriptionId=1A88SK73MX6J49JRKQG238067http://ec1.images-amazon.com/images/I/11C8RRZ3SQL.jpg7548http://ec1.images-amazon.com/images/I/21ZWMENWZKL.jpg160103http://ec1.images-amazon.com/images/I/51J74GMSMKL.jpg500322http://ec1.images-amazon.com/images/I/0199Q86HGGL.jpg3019http://ec1.images-amazon.com/images/I/11C8RRZ3SQL.jpg7548http://ec1.images-amazon.com/images/I/11C8RRZ3SQL.jpg7548http://ec1.images-amazon.com/images/I/11YW4055S4L.jpg11071http://ec1.images-amazon.com/images/I/21ZWMENWZKL.jpg160103http://ec1.images-amazon.com/images/I/51J74GMSMKL.jpg500322Stefan FatsisPaperback79497801420022610142002267Penguin (Non-Classics)1500USD$15.00Penguin (Non-Classics)13849083075540BookABIS_BOOK2002-07-30Penguin (Non-Classics)2002-07-30Penguin (Non-Classics)545USD$5.4590USD$0.901500USD$15.00448220Amazon.comLikea cross between a linguistic spy and a lexicographic Olympic athlete,journalist Stefan Fatsis gave himself a year to penetrate the highestechelons of international Scrabble competition. <I>WordFreak</I> is the account of his journey. It's a wacky grab bag oftravelogue, history, party journal, and psychological study of themisfits and goofballs whose lives are measured out in Scrabbletiles.<p> Fatsis gives us all the facts about Scrabble--from thestory of the down-on-his-luck architect who invented the game in the1930s to the intricacies of individual international competitions andthe corporate wars to control the world's favorite word game. He keepsthe reader turning the pages as we get involved in the lives of theScrabble obsessives: men and women who have a point to prove againstthe world and have chosen Scrabble as their playground and theirpulpit. As Fatsis goes on his own quest to attain the coveted 1600rating, we actually get obsessed with him as he lies awake at nightpondering moves and memorizing lists of words. For anybody who isinterested in words, <I>Word Freak</I> provides anentertaining and absorbing read. <I>--Dwight Longenecker,Amazon.co.uk</I> 0Book DescriptionScrabblemay be truly called America's game. But for every group of "living-roomplayers" there is someone who is "at one with the board." In<i>Word Freak</i>, Stefan Fatsis introduces readers tothose few, exploring the underground world of colorful characters forwhich the Scrabble game is life-playing competitively in tournamentsacross the country. It is also the story of how the Scrabble game wasinvented by an unemployed architect during the Great Depression and howit has grown into the hugely successful, challenging, and beloved gameit is today. Along the way, Fatsis chronicles his own obsession withthe game and his development as a player from novice to expert. Morethan a book about hardcore Scrabble players, <i>WordFreak</i> is also an examination of notions of brilliance,memory, language, competition, and the mind that celebrates the uncannycreative powers in us all. <br><br> "Fatsis . . . writeswith affectionate zeal about the game and the fraternity of brilliant,lonely, and otherwise dysfunctional oddballs it attracts."(<i>The New York Times</i>) <br><br>"<i>Word Freak</i> has an impassioned subtitle, and itlives up to every word." (<i>People</i>)0

Any help with this would be greatly appreciated :-)

thanks Jo

Leave a Comment

You must be logged in to post a comment.



E-commerce For Everyone - Amazon Storefront Solutions