pyXML errors on install

View: New views
2 Messages — Rating Filter:   Alert me  

pyXML errors on install

by Dennis Spring :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi;
I downloaded pyXML and read the 'readMe' doc .
 I followed the simple instructions to build and install pyXML, but many many error messages were output to the monitor.
Any ideas?

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.
And all references I can find for minidom and sax show examples of how to read a file,
not a string. My coding attempts confirm that those objects must have a file to read.
I know I could write the received string to a file, and then read it. However I believe that we would have time issues caused by that extra step.  

A fellow developer suggested using pyXML, but as I mentioned above, I got 'lotsa' errors when I followed the installation instructions.

Any help would be appreciated.

Thank you.
E. Dennis Spring
_______________________________________________
XML-SIG maillist  -  XML-SIG@...
http://mail.python.org/mailman/listinfo/xml-sig

Re: pyXML errors on install

by Stefan Behnel-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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  -  XML-SIG@...
http://mail.python.org/mailman/listinfo/xml-sig