Newbie Python & XML

Kent Johnson kent37 at tds.net
Sat Jun 4 21:42:16 EDT 2005


LenS wrote:
> I have a situation at work.  Will be receiving XML file which contains
> quote information for car insurance.  I need to translate this file
> into a flat comma delimited file which will be imported into a software
> package.  Each XML file I receive will contain information on one quote
> only.  I have documentation on layout of flat file and examples of XML
> file (lot of fields but only container tags and field tags no
> DTD's,look easy enough).  I am just starting to learn python and have
> never had to work with XML files before.  Working in MS Windows
> environment.  I have Python 2.4 with win32 extensions.
> 
> 1. What else do I need

I recommend ElementTree for XML processing in Python
http://effbot.org/zone/element-index.htm

and the Python-tutor mailing list for getting started with Python:
http://mail.python.org/mailman/listinfo/tutor

Kent



More information about the Python-list mailing list