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

Re: Using XML to handle all configuration files



> >  Just say you don't know enough about XML, nobody will harm you.. =b
> Parsing is not everything in handling Configuration Data. There are a lot of
> dependencies in the application domain. Like beeing able to add multiple
> addresses to a Ethernet Interface but not to a PPP Interface, or something.
> You have to script that.

 Having a common and sane data model it's a huge start. And for adding
constraints to the data model, it becomes a trivial task, because such rules
could be easily writen in xpath:

count(iface[type='ppp']/address)==1



Reply to: