XSL Parameters
If you are using an XSL stylesheet to specify the output returned by Product Advertising API, you may need to include some or all of the following (optional) parameters.
Parameter | Value | Description |
---|---|---|
Style | "XML", the default, or the URL of an XSL stylesheet | The Style parameter applies
to REST requests only. Use the Style
parameter to control the format of the data returned by Product Advertising API. Set this parameter to
"XML" to generate a pure XML response. Set this
parameter to the URL of an XSL stylesheet to have Product Advertising API transform the XML response to another format you
specify. |
ContentType | "text/xml", the default, or "text/html" | The ContentType parameter
is valid for REST requests only. The
ContentType set in your request is returned
as the content type in the HTTP headers of the response that Product Advertising API returns. Generally
ContentType should only be changed when it is
being used in conjunction with an XSLT stylesheet specified with the
Style parameter. When you use a
stylesheet to transform your Product Advertising API response
to HTML, set this parameter to text/html. |
For more information, go to Transforming Product Advertising API Responses into HTML Using XSLT