Why do you want to re-intialize the parser instead of creating another one. The parser object is not that large... I mean it isn't tiny but the malloc is going to be basically forgotten in the overhead of doing I/O and XML parsing. -- Take a recipe. Leave a recipe. Python Cookbook! http://www.ActiveState.com/pythoncookbook