PHP Classes

Parse Amazon XML file: I am unable to get Amazon XML file to parse in PHP

Recommend this page to a friend!
  All requests RSS feed  >  Parse Amazon XML file  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Parse Amazon XML file


Picture of Sharre Maison by Sharre Maison - 9 years ago (2015-02-20)

I am unable to get Amazon XML file to parse in PHP

This request is clear and relevant.
This request is not clear or is not relevant.


I have requested Amazon XML file but I am unable to retrieve the different nodes when I use PHP $xml = simplexml_load_file. I want to convert the XML to add to a HTML web site.

  • 2 Clarification requests
  • 2. Picture of Nadir Latif by Nadir Latif - 9 years ago (2015-03-06) Reply

    Amazon requires that all api requests have to be signed. Once you send the correct api request it should be easy to parse the xml.

    • 1. Picture of CPK Smithies by CPK Smithies - 9 years ago (2015-02-28) Reply

      Let's see the code that is not working.

      What error are you getting?

      Ask clarification

      1 Recommendation

      Generic XML parser class: Arbitrary XML parser.

      This recommendation solves the problem.
      This recommendation does not solve the problem.


      Picture of Manuel Lemos by Manuel Lemos package author package author Reputation 23770 - 9 years ago (2015-02-20) Comment

      That is a bit odd that you are not able to parse a XML document with SimpleXML.

      You may want to try this other XML parser class. If you are not able to get the nodes you want, you may ask for support in its support forum page.

      Recommend package