Re: [xml] XML for config files



Rick Jones wrote:
Sorry, I was being cranky there.

But, in my experience, XML config files are harder for sysadmins to edit than simple text files. I guess if they are only / mostly going to be edited by programs rather than people then they are OK.

I do rather like their heirarchical nature though - is there a simple text file analogue?

Apache uses a pseudo HTML style, like

<Location /foo>
 ...
</Location>

and DOS .ini files use [section] for two level hierarchies. But I guess most config files don't have or need hierarchies, and if you do, then XML would be the way to go.

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]