You might also consider JSON (http://www.json.org), which is generally lighter weight than XML, fairly human-readable, and useful in several languages (most, anymore) . Python, Javascript, and ECMAScript use it natively through Eval(), if you don't have security concerns; or through a wrapper if security is an issue. Python's pprint module will be a help if you go that route.
I find it useful in development, so even if I am going to use some other storage, I'll leave any toJSON() and fromJSON() functions I write in place, anyway. Ron _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor