I'm not 100% sure but I'm taking a good guess that it's the best way to ensure functionality for the config files remains reasonable similar. You can't, for example, specify attributes for Zend_Config_Array nor Zend_Config_Ini without significantly altering the way that they're structured. So using elements alone is a convenient and easily understood convention.

I'm afraid to hear that Zend_Config ignores any element attribute.
Perhaps this is because of its SimpleXML origin. I'm not certain on this.


--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "
202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com

Reply via email to