From: cyberco <cy...@me...> - 2007-09-13 13:03:24
|
I would like to use the excellent ElementTree for some simple XML work, but unfortunately it depends on the shared lib 'expat' so Jython can't import it. Or can it? Anybody here that succeeded? I've read that previous versions of elementtree had a way to avoid expat by using SimpleXMLTreeBuilder, but that class has been removed now (although the error message still says "No module named expat; use SimpleXMLTreeBuilder instead"). If elementtree is a no go (I hope not) what other XML parsing package (python) or lib (java) would you recommend? (I prefer the Python packages since those are generally much simpler to use.) Cheers, Berco |