Hello there.
My aim is to use the Flickr API to extract details of only one photograph given a set of keywords.
I have the request URL which (in a browser) returns XML much like the following:
<rsp stat="ok">
<photos page="1" pages="8951" perpage="100" total="895061">
<photo id="4503248539" owner="33965274@N08" secret="b60e5fcc27" server="2774" farm="3" title="alright, tia" ispublic="1" isfriend="0" isfamily="0"/>
<photo id="4503259303" owner="49065542@N00" secret="1765234706" server="4053" farm="5" title="French Bulldog" ispublic="1" isfriend="0" isfamily="0"/>
<photo id="4503856822" owner="33703729@N08" secret="36e52001bc" server="2784" farm="3" title="Lucky" ispublic="1" isfriend="0" isfamily="0"/>
<photo id="4503856622" owner="33703729@N08" secret="749f915a37" server="4041" farm="5" title="Mini" ispublic="1" isfriend="0" isfamily="0"/>
</photos>
</rsp>
All I'd like, in the example above, is to extract each of the attributes from the very first <photo> element.
How would I load the XML within C# and extract the attributes neatly?
Thank you very much!