For this following xml, how do I fetch the xml and then parse it to get out the value for <age>
?
<boardgames>
<boardgame objectid="13">
<yearpublished>1995</yearpublished>
<minplayers>3</minplayers>
<maxplayers>4</maxplayers>
<playingtime>90</playingtime>
<age>10</age>
<name sortindex="1">Catan</name>
...
I'm currently trying:
result = urlfetch.fetch(url=game_url)
xml = ElementTree.fromstring(result.content)
But I'm not sure I'm on the right path. When I try to parse I get errors (I think because the xml is not valid xml).