Dan, Take a look at http://www.xml.com/pub/a/2003/03/12/py-xml.html. It's a starting point to output XML data via use of SAX. Bruno also mentioned Genshi. I haven't used Genshi myself, but it'd be worth it to take a look at what it has to offer.
- Jonathan -- http://mail.python.org/mailman/listinfo/python-list