I am working with the Petfinder API to create a tool that will allow people to search for pets. The way that this API works is that you generate a URL with your specific API key and some variables. The string looks like such:
With a proper API key, this URL will return an XML page that has a ton of information about animals that meet the criteria. In the case above, it would show every animal near the location of Reno, NV.
What I'm trying to figure out is how I can pass the URL that returns all of the XML code to an HTML or PHP page that I can then markup. Basically, I want to use the information in the XML to populate a page with information and pictures. Attached is an example of what the XML code looks like. Any help is much appreciated or if someone can point me in the direction of a website that explains how to do this I would be grateful!
<div><p>Megan is a real character. She is an aussie border collie mix. She has been deaf her whole life but you'd never know it. megan loves everyone and would make a great companion.<p><em><strong> If you are interested in this dog, please visit <a href="http://aussiebcrescue.com/adoptapp.htm" onclick="pageTracker._trackPageview('outbound/petnoteslinks');" target="_blank"> www.aussiebcrescue.com/adoptapp.htm</a> to submit an adoption application.</strong></em><br /><br /><p><em><strong> We have many wonderful Aussies and Border Collies awaiting adoptive homes. Please visit our website <a href="http://aussiebcrescue.com/index.htm" onclick="pageTracker._trackPageview('outbound/petnoteslinks');" target="_blank"> www.AussieBCrescue.com</a> to view all of our available dogs.</strong></em></div>
<br/><a href="http://www.petfinder.com/petdetail/16966565">View this pet on Petfinder.com</a>
<photo id="1" size="x">http://photocache.petfinder.com/fotos/NV83/NV83.16966565-1-x.jpg</photo>
<photo id="1" size="t">http://photocache.petfinder.com/fotos/NV83/NV83.16966565-1-t.jpg</photo>
<photo id="1" size="pn">http://photocache.petfinder.com/fotos/NV83/NV83.16966565-1-pn.jpg</photo>
<photo id="1" size="pnt">http://photocache.petfinder.com/fotos/NV83/NV83.16966565-1-pnt.jpg</photo>
<photo id="1" size="fpm">http://photocache.petfinder.com/fotos/NV83/NV83.16966565-1-fpm.jpg</photo>