in reply to XML-ish Data::Dumper?
A brief meta note here: are you sure you want your configuration files in XML? My experience (which you should take with the appropriate grain of salt) has been:
- As an application framework developer XML configuration files are great. There are readily available parsers and transformation frameworks out there, just about everyone knows enough about XML to know what's going on, and serialization to/from XML is quite easy. (There's the grey area of when to use element data versus attribute data, but whatever.)
- As a user, I hate it. It's a PITA to edit in a normal editor, particularly when you start getting deeper and deeper into nested data structures.
And since as an application developer I try to think of users, I don't user XML configuration files. I've found that the INI structure is expressive and easy to edit. It also prevents me from putting too much 'deep' information in a config file because INI represents very complex data structures awkwardly.
There was an interesting discussion about these sorts of things on the P5EE mailing list.
Chris
M-x auto-bs-mode
|
|---|