Could someone kindly help me get this parsed. I have the following XML. I need to get the value of photo-url that matches "75" max-width. How do I filter that in PHP
$xml->posts->post['photo-url']....?
<photo-url max-width="100">
image1.jpg
</photo-url>
<photo-url max-width="75">
image2.jpg
</photo-url>