Our Water AMR vendor has been chosen, and the contract is almost signed between the town and vendor. A very interesting project is ramping up, and there is a lot of interesting work ahead.
The vendor we chose, exchanges various kinds of water data using an API and XML documents. I scrambled to start finding XML parsing examples on the web. This page http://www.xml.com/pub/a/2003/02/12/py-xml.html has some good examples of one of three libraries for parsing XML, ElementTree. The other two libraries, SAX and DOM XML are well regarded, but not as highly as ElementTree.
The link is a little outdated, but very useful. I am using Python 2.5.2, but did not have to install PyXML, which is currently not being maintained.
I also found a good example out at
http://www.dr-chuck.com/csev-blog/000537.html,
and some good documentation at
http://effbot.org/zone/element.htm
As the project progresses, there will undoubtedly be a lot more to come.
Bye for now.
you may also want to check out vtd-xml, the latest and most advanced xml processing model
vtd-xml