def from_elem(self, elem):
        "Convert this element to a useful datastructure"
        fn = self.tag_convert.get(self.tagnorm(elem), identity)
        return fn(self, elem)
Convert this element to a useful datastructure
recipes/Python/511472_Simple_maps_and_lists_from_XML/recipe-511472.py