xml processing : too slow...

djw donald_welch at nospam.hp.com
Wed Jul 24 12:07:12 EDT 2002


Shagshag13 wrote:
> hello,
> 
> i need to process *each line* of  many huge files (> 2 million lines) with xml processing, by now i do it with parseString from
> xml.dom.minidom and it's work.
> 
> i do xml validation, extract attributes and tags.
> 
> that's really slow, how do you think i can speed it up ? i'm thinking of writing a xml mini wrapper using things like string.find or
> even regular expressions, do you this that's a good idea ?
> 
> thanks in advance,
> 
> s13.
> 
> 

Maybe pyRXP would work?

D




More information about the Python-list mailing list