Product Advertising API
Developer Guide (API Version 2011-08-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

XML-Encoding Parameters

Another optional parameter is provided, that you may need in some environments, as described in the following table.

ParameterValueDescription
XMLEscaping "Single", the default, or "Double" XMLEscaping specifies whether responses are XML-encoded in a single pass or a double pass. By default, XMLEscaping is "Single," and Product Advertising API responses are encoded only once in XML. For example, if the response data includes an ampersand character (&), the character is returned in its regular XML encoding (&). If XMLEscaping is "Double," the same ampersand character is XML-encoded twice (&). The Double value for XMLEscaping is useful in some clients, such as PHP, that do not decode text within XML elements.