Pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree
