On Thu, Jan 13, 2005 at 10:06:25PM +0100, Frank S. Thomas wrote: > Using Python's DOM is (as far as I can see) the easiest and robust way to > accomplish the task. It is working but slow if it processes a file with more > than 8000 package records. But this was never my goal, I only wanted to > convert files with about 20 package records. Learn to use stream-oriented APIs.