Sometimes the APIs I want to use for a project only return data in the XML format.I usually grumble about me forgetting how to use
xml.etree.elementtree, glance at the documentation, and then search StackOverflow until I can cobble together something that extracts the data I need. Then I move on to other parts of the project and forget how to use
Xml Schema Cheat Sheet
$x('//div//p//.') $('div p.'), $x('//@id='item') $('#item'), and many other Xpath examples. One-page guide to Xpath. Dopefly dot com - Fusebox 5.5 XML Cheat Sheet Fusebox 5.5 XML Cheat Sheet The XML changes in Fusebox 5.0 mostly brought a standard and more solid feel to the Fusebox XML language. Fusebox 5.5 brought the ability to not use the XML grammar, so there are very few changes between 5.0 and 5.5.
This time around, I decided to consciously learn
xml.etree.elementtree by taking notes on it,with the added motivation of making a blog post on it.I think the
xml.etree.elementtree tutorialwas already very useful, so I turned parts of the tutorial into a graphic.