On Wed, 27 Feb 2008 14:02:25 -0800, dirkheld wrote: > Something strange here. The xml file causing the problem has only 361 > lines. Isn't there a way to catch this error, ignore it and continu > with the rest of the other files?
Yes of course: handle the exception instead of letting it propagate to the top level and ending the program. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list