On lÃr, 2005-03-12 at 14:24 -0600, Hasan Khalil wrote:
> Sorry, I worded that all wrong. I meant to say that Apple's plist DTD 
> was built for this, and this kind of usage of XML has never led me 
> astray. Great way to store configuration data, IMO. Using XML for 
> configuration data also makes it easy to catch syntax errors in larger 
> configuration files, as well as makes it easier (again, IMO) to create 
> GUI front-ends for configuration file editing/creation.

While on the topic, I felt the urge to revive a past idea of mine.

If one were to write a DTD (or schema) that defines a schema for writing
configurationfiles in xml. The common language would make it possible to
even write generic configuration GUIs, such as webmin and friends, that
could parse all kinds of configuration files without prior knowlege.

That is:
Generic DTD (Schema) -> Application Configuration Schema -> Application
Configuration XML

One could even provide language extension to be able to generate
manpages from the same sourcefile.

/John

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to