Re: [XML-SIG] PyXML

2005-01-28 Thread Alexandre
staller, install pyxml on that python installation, and then copy the _xmlplus directory in the corresponding directory of Zope's python installation. Asking your question on a zope dedicated mailing list would be the right thing to do. Be sure to google for it first, since this is a FAQ.

Re: [XML-SIG] XBEL resource page updates

2005-02-17 Thread Alexandre
uptive > change. > > Maybe I'm being too cautious? > > Does anyone think that giving XBEL its own project space is *not* a good > idea? I think it would be a *good* idea. -- Alexandre Fayolle LOG

Re: [XML-SIG] instaling XML package v0.8.3 in Debian

2005-03-06 Thread Alexandre
Have you installed the python-dev package? (and what's wrong with the debian python-xml package?) -- Alexandre Fayolle LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org signat

[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] Ebbeding image data in XML

2005-12-20 Thread Alexandre Fayolle
ATA > > > Currently I use lxml.etree and get encoding errors when I write the > image into the element. > > I would like the file to XML Schema complient, so what "xs:" type should > one use for the imageasstring element? You'll need to encode the imagestring data to

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