Dan Stromberg wrote:
> Are there any python XML parsing API's that preserve comments -

Try lxml.

http://codespeak.net/lxml


> preferrably that come with python 2.5.1?

It doesn't come with Python 2.5.1, but it's compatible to ElementTree, which
is part of the stdlib. So you can have a fallback to the stdlib if lxml is not
installed (though this will loose comments then).

Stefan
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to