[python-win32] Can't make parser
Wara Songkran
paandev at yahoo.com
Thu Nov 18 04:48:24 CET 2004
Hi
Forgive my last post. the PyXML from http://debris.demon.nl/PythonCE-2.3 doesn't work. I can make parser by calling sax.make_parser() and it returned ExpatParser but when I call parser.parse("xxx.xml") the shell just terminated.
So I try agian, this time with PyXML 0.8.3 and I just copied it from my python's Lib directory on my PC. It's really work this time I can create parser and parse some xml files. The last PyXML(the woring one) return "xml.sax.driver2.drv_xmlproc.XmlprocDriver" instead of ExpatParser. Xml Gurus please enlight me what this mean.
Regard
Wara Songkran
Wara Songkran <paandev at yahoo.com> wrote:
Hi
I've just try PyXML from http://debris.demon.nl/PythonCE-2.3 and it's work. Any Idea why this happen. I also use PyXML on my Desktop PC but with standard xml package which come with python is also work. Why standard xml package on PythonCE does not work?
Wara Songkran <paandev at yahoo.com> wrote:
Hi
I'm using Python-2.3.4-arm-PPC2003. When I try to use sax the shell said
>>> from xml import sax
>>> parser = sax.make_parser()
Traceback (most recent call last):
File "binaries\lib\xml\sax\__init__.py", line 93, in make_parser
SAXReaderNotAvaiable: No parsers found
I guess beacause it need expat parser library which is a native dll to run.
Please help.
---------------------------------
Do you Yahoo!?
Discover all thats new in My Yahoo!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20041117/fc27ca64/attachment.htm
More information about the Python-win32
mailing list