def nodes_to_object(self, node, object):
        "Map all child nodes to one object's attributes"

        for n in list(node):
            self.node_to_object(n, object)
def nodes_to_object ( self , node , object ) : for n in list ( node ) : self . node_to_object ( n , object )
Map all child nodes to one object's attributes