am querrying Amazon's product list in order (eventually) to make sales as an Associate (My company already is one). I can create querrys to extract the information I want just fine, and display the document tree no problem. When it comes to displaying the information (with XSL, of course) I get stuck.

Amazon's Web Services says to just add the style parameter, as in the last line of the example REST query.

http://webservices.amazon.com/onca/...CommerceService
&SubscriptionId=[your subscription ID here]
&Operation=ItemLookup
&IdType=ASIN
&ItemId=B00008OE6I
&ResponseGroup=Large
&Style=http://www.yourdomain.com/your-xsl-style-sheet.xsl

When I replace the style parameter with
&Style=http://www.bruteepicure.com/IIDJ/item-search.xsl
which is a fully qualified path, I still do not return a formatted result.

Am I missing something to do with declaring a stylesheet namespace. The top of my style sheet looks like this:

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:aws="http://xml.amazon.com/AWSECommerceService/2004-08-01">

<xsl:template match="aws:ItemSearchResponse">
.....

You can see all of this in action at http://www.bruteepicure.com/IIDJ/GermanDesignBooks.html
I am concerened first with the top-most navigation link, 'Fully Qualified US Version'.

I think somewhere I'm missing something really simple, as this process isn't all that hard. Another set of eyes would help a lot.

 

 

 


Reply