I want to parse some XML data, it's the address book data from the linux program osmo. The file I want to parse is like this:-
<?xml version="1.0" encoding="utf-8"?> <osmo_contacts> <contacts_groups/> <contacts_records> <record> <group>None</group> <first_name>Peter and Denise</first_name> <last_name>Smith</last_name> <birthday_date>0</birthday_date> <name_day_date>0</name_day_date> <home_address>Some address</home_address> <home_postcode>AAA BBB</home_postcode> <home_state>Oxfordshire</home_state> </record> </contacts_records> </osmo_contacts> I basically want to be able to extract the data and output in other formats - e.g. write to a Sqlite3 database and/or CSV. So what do I need to import (and probably install first) to do this? -- Chris Green ยท -- https://mail.python.org/mailman/listinfo/python-list