Dan Gunter wrote: > it runs through the whole file, for me, just in an infinite loop. so, I > guess I can't help you, since I don't see that behavior. maybe someone > else will.
You do have to add the "if next is None: break" to see where the loop stops. If it stops at "surfchataineliorpromo2.mpg", then you have the same problem. If it stops at "amityville.mpg", then your version is correct. Anyhow, mine is now working fine after I upgraded to the latest PyXML. Thanks all for your help. Regards, -- Alexandre CONRAD - TLV Research & Development tel : +33 1 30 80 55 05 fax : +33 1 30 80 55 06 6, rue de la plaine 78860 - SAINT NOM LA BRETECHE FRANCE _______________________________________________ XML-SIG maillist - XML-SIG@python.org http://mail.python.org/mailman/listinfo/xml-sig