sqlite or xml

Yu-Xi Lim yuxi at gatech.edu
Thu Dec 6 16:56:46 EST 2007


Tim Chase wrote:
>> how much data is considered to be "large amount"?
> 
> one record
> 
> Unless you really need XML to communicate with some other app via a 
> predetermined schema, use a database to store and retrieve data.  If you 
> only need to send data to another app via a predetermined schema, use a 
> database and then offer an "export to XML" functionality.

I agree. IMO, XML should be used as a data exchange format, not as 
database format for databases of *any* length. Though some 
products/projects may tell you otherwise.

I won't limit data exchange to only other apps/programs. One benefit of 
XML is that it's relatively human readable, so exchanging data directly 
with humans using XML is probably acceptable, but shouldn't be encouraged.



More information about the Python-list mailing list