Examples of using XML and Python?

Bill Bell bill-bell at bill-bell.hamilton.on.ca
Thu Jul 19 13:04:28 EDT 2001


"Mark Ainsworth" <marka at sundance.com> wrote, in part:
> Has anyone got any simple examples of using Python and XML? The plan
> is to use XML as the data format for information files. These need to
> be able to be read, for data extraction, and also written too for
> modification.

"XMLtreeview" under "Cool Contribs" in the demo that is included 
with wxPython shows how to ~read~ an XML doc into a tree 
control. I can't evaluate this in comparison with what Cameron Laird 
has already posted in response to your query; however, 
XMLtreeview is a particularly easy-to-read example.




More information about the Python-list mailing list