Zend_Config allows a web application to store basic configuration values. If you like, you can utilize a separate staging environment for testing new development and a production environment for publishing development that has been successfully tested in the staging environment.
In order to load the configuration values for the staging environment, a developer using Zend_Config would write:
Zend_Config also provides loaders for configuration data stored in PHP arrays and in XML-formatted text files, and developers are free to implement their own loaders for other formats where desirable.
Using Zend_Config_Xml
It is also possible to use xml for providing configuration info. Following the example above, your structure and files should look like this to achieve the same result. Note that the root node doesn't necessarily have to be called 'configdata'.