--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
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
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
>>
>
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
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
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
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,
--