[dev] Re: [cvs] commit: horde setup.php

Chuck Hagenbuch chuck@horde.org
Thu, 25 Jul 2002 14:43:22 -0400


Quoting Jan Schneider <jan@horde.org>:

> I guess this can be done pretty simple by allowing configsection elements
> inside other configsection elements, if you you know the number of
> subelements. Or you may use something similar to the configmultienum
> element if the number of subsections varies.

Yeah, the trick is handling a variable number of sections.

> I think it's a bit odd to have the actual value of a configuration as a
> text node inside the config elements. At least with the configenum elements
> that can contain other elements, this is unusual. A "value" attribute 
> inside the configenum element makes more sense for me and for consistency 
> this should be the same for all config elements.

This is perfectly valid XML, and I don't see a particular reason to change it...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"After a few minutes the most aromatic and nice smelling Italian coffee 
 will come out of the exhaustpipe." - Our stove-top espresso pot