This is a simple Python script to convert a FreeDB format database into XML. The main use for it is simply to create sample data for testing native XML databases when the data needs to be more then just non-sense. The FreeDB database can be downloaded from http://www.freedb.org/ There is a default driver included that expects a FreeDB database to be available under cddb. It is likely that you'll want to modify the default driver or just write your own. Once you have a FreeDB database you can run run the sample driver by typing. python convert.py The XML format generated is very simple. For the following CDDB file # xmcd # # Track frame offsets: # 150 # 210627 # # Disc length: 2952 seconds # # Revision: 1 # Submitted via: xmcd 2.0 # DISCID=270b8617 DTITLE=Franske Stemninger / Con Spirito DYEAR=1981 DGENRE=Classical TTITLE0=Mille regretz de vous abandonner TTITLE1=L'arche de no EXTD=Copyright (c) 1981 MCA Records Inc.\nManufactured f EXTD=or MCA Records Inc. EXTT0=Des Prez\nYez EXTT1=Schmitt: A contre-voix \n(excerpt) PLAYORDER= The following XML is generated. 270b8617 2952 Franske Stemninger / Con Spirito cddb/blues Copyright (c) 1981 MCA Records Inc.\nManufactured for MCA Records Inc. Mille regretz de vous abandonner L'arche de no