[XML-SIG] xml.dom won't traverse the whole XML tree

2005-05-17 Thread Alexandre CONRAD
--cut When you execute it, as you can see, it get's stuck in the 1st "videolist" element. It should normaly keep on going. And I can't see what I'm doing wrong... Any idea what's wrong ? Thanks in advance. Best regards, -- Alexandre CONRAD - TLV Re

Re: [XML-SIG] xml.dom won't traverse the whole XML tree

2005-05-18 Thread Alexandre CONRAD
ineliorpromo2.mpg But as you can see, it stops at "surfchataineliorpromo2.mpg". But if you look in the XML file, you will notice that almost half of the XML file is missing. So why does it stops here ? That's my point. Any idea ? Best regards, -- Alexandre CONRAD - TLV Researc

Re: [XML-SIG] xml.dom won't traverse the whole XML tree

2005-05-19 Thread Alexandre CONRAD
x was wrong. I was getting crazy... Regards, Alexandre CONRAD wrote: >>you forgot to test and break if next is None >> >>while 1: >> print walker.currentNode.getAttribute("file") >> next = walker.nextNode() >> if next is None: break >> >

Re: [XML-SIG] xml.dom won't traverse the whole XML tree

2005-05-19 Thread Alexandre CONRAD
ps 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 &am

Re: [XML-SIG] no 'writexml' when building a domTree from ext.Sax2

2006-05-02 Thread Alexandre CONRAD
27;s standard module library rather than installing 3rd party tools. Speed (faster than 4DOM would be a good start) is one of my priorities. I'm also using XPath for parsing (not always though). Regards, -- Alexandre CONRAD - TLV Research & Development tel : +33 1 30 80 55 05 fax : +33 1

Re: [XML-SIG] no 'writexml' when building a domTree from ext.Sax2

2006-05-03 Thread Alexandre CONRAD
27;s standard module library rather than installing 3rd party tools. Speed (faster than 4DOM would be a good start) is one of my priorities. I'm also using XPath for parsing (not always though). Regards, -- Alexandre CONRAD - TLV Research & Development tel : +33 1 30 80 55

Re: [XML-SIG] no 'writexml' when building a domTree from ext.Sax2

2006-05-03 Thread Alexandre CONRAD
on keeping it pythonic. If I understand well, to get the documentation of lxlm, I'll have to read the ET documentation as it seems to be the same API. I've been googling discussions about ET and lxml and people seems to be pretty happy about it. Thanks for you help. Regards, --