Hey guys, I'm new here but I'm really hoping I can still get some help. I am trying to pull data from an XML string using PHP's SimpleXML. I have looked everywhere, but have been unable to find any specific help on how to target information within the string. Any help you guys could offer would be greatly appreciated.
My question is: how do I target information beneath the top levels of the string? When I use getName(), I see only the top three levels: PhysicalProperty, Management, and Property. Given the information above, how would I return the "Address1", "City", and "Zip" information inside of the "Address" level using PHP's SimpleXML? I'm sure it's very simple and that I just don't know how to word my searches appropriately, but I'm hoping you guys can help! Thanks in advance for everything!
Last edited by wboling; 03-27-2011 at 09:53 PM.