[Tutor] Data base in XML

Kent Johnson kent37 at tds.net
Wed May 25 13:35:41 CEST 2005


Jonas Melian wrote:
> Hi all,
> 
> I'm going to build a little data base in XML, with information about
> localization for each country.

Why XML? You could use pickle or CSV or a real database...

> Then, I'm in dude of using xml.sax (built in python) or elementtree.
> Which do you recommend to me?

elementtree

> And is it necessary build a DTD or Schema file?

No. These are helpful if you want to validate your data but not required.

Kent



More information about the Tutor mailing list