Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Style Parameter And Amazon

Recommended Posts

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://forums.xisto.com/no_longer_exists/
&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://forums.xisto.com/no_longer_exists/
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://forums.xisto.com/no_longer_exists/;
xmlns:fo="http://www.w3.org/1999/XSL/Format;
xmlns:aws="http://forums.xisto.com/no_longer_exists/;

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

You can see all of this in action at http://forums.xisto.com/no_longer_exists/
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.