I am trying to parse an XML file that has namespaces in it using simplexml_load_string in PHP. A sample of the xml response is here: http://pastie.org/4404714
Usually I would parse this using the simplexml_load_string command and then dump the results out to get a nice easy to read tree so that I can access the objects. However, all of the data does not even show up when I do this in this case. The segments below the AttributeSets don't show up at all. I have to output the raw xml to even see them.
I read in other similar stackoverflow answers that I could just ignore the namespace portion in the tags, but I can't get that to work either. Could someone please help. For example, how would I print out Author, Height, or Edition from this response. Thanks