libconf provides the functions to read, modify, and check any configuration files, provided that it has the appropriated template and validation data.
libconf is written in perl, but will be able to interface with multiple language and document format, like xml.
There's a more detailed description here :
There's doc on libconf template here :
These details are provided for information only. No information here is legal advice and should not be used as such.