Re: [lxml-dev] Trouble parsing large XML document with ElementTree
25 May
2008
25 May
'08
2:07 p.m.
Stefan, My apologies and thanks - my eyes obviously weren't working so well yesterday! The program's running smoothly now (aside from some "'ascii' codec can't encode character" exceptions that I'm "try/except"ing until I've understood how to handle them with lxml; I realise the docs cover this but I (still) don't quite understand them all yet). Thanks again. Gratefully, Sam 2008/5/25 Stefan Behnel <stefan_ml@behnel.de>:
result = etree.XML("content.example.xml", parser) result = etree.parse("thefile.xml", parser)
See the difference?
6078
Age (days ago)
6078
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sam Kuper