Re: [XML-SIG] Assistant trouble shooting 'ImportError: No module named dom.ext.reader'

2005-08-18 Thread Fred L. Drake, Jr.
On Tuesday 16 August 2005 14:09, Hardison Leif wrote: > The error I'm receiving when running an example file is: > > my-host:/home/.../scripts# /usr/local/bin/python xml2.py > Traceback (most recent call last): > File "xml2.py", line 2, in ? > from xml.dom.ext.reader import Sax2 > Fi

Re: [XML-SIG] Assistant trouble shooting 'ImportError: No module named dom.ext.reader'

2005-08-18 Thread Hardison Leif
Oi! Fred, indeed that looks to be the problem... The script runs now; however it takes forever to parse the input file. Does anyone happen to have any generalized benchmarks on the performance one could expect from PyXML? The XML data files I'm working on currently are around 100MB in size and

Re: [XML-SIG] Assistant trouble shooting 'ImportError: No module named dom.ext.reader'

2005-08-18 Thread Tim Hoffman
Maybe you should look at ElementTree or more specifically cElementTree, Thiough it does have a different api/model T Hardison Leif wrote: >Oi! > >Fred, indeed that looks to be the problem... The script runs now; >however it takes forever to parse the input file. Does anyone happen to >have any