Re: pyXML errors on install

Stefan Behnel <[email protected]> Thu, 14 May 2009 07:46:20 +0200
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
Dennis Spring wrote:
> I downloaded pyXML and read the 'readMe' doc .

Then you missed the fact that PyXML is unmaintained and outdated.


> I am not tied to the notion of using pyXML, however I need to be able to read and process
>  xml strings, not xml files.

Use the xml.etree.ElementTree module (in the stdlib since 2.5, available
for Py2.2+). It has a "fromstring()" function that does the job. It's also
a lot easier to use than anything in the xml.dom or xml.sax package.

Stefan
_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig