Skip to content

Instantly share code, notes, and snippets.

@thigm85
Created March 3, 2016 10:17
Show Gist options
  • Save thigm85/33b4e069094652f61e7a to your computer and use it in GitHub Desktop.
Save thigm85/33b4e069094652f61e7a to your computer and use it in GitHub Desktop.
XML file example used in the python tutorial. Ref.: https://docs.python.org/2/library/xml.etree.elementtree.html#parsing-xml
<?xml version="1.0"?>
<data>
<country name="Liechtenstein">
<rank>1</rank>
<year>2008</year>
<gdppc>141100</gdppc>
<neighbor name="Austria" direction="E"/>
<neighbor name="Switzerland" direction="W"/>
</country>
<country name="Singapore">
<rank>4</rank>
<year>2011</year>
<gdppc>59900</gdppc>
<neighbor name="Malaysia" direction="N"/>
</country>
<country name="Panama">
<rank>68</rank>
<year>2011</year>
<gdppc>13600</gdppc>
<neighbor name="Costa Rica" direction="W"/>
<neighbor name="Colombia" direction="E"/>
</country>
</data>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment