[Zope3-dev] RFC: ZConfig and other formats for ZCML
Chris Withers
chris at simplistix.co.uk
Tue Jan 24 04:42:03 EST 2006
Fred Drake wrote:
> On 1/21/06, Jim Fulton <jim at zope.com> wrote:
>
>>are really attributes of foo. In ZCML, this might have been:
>>
>> <foo
>> x="1"
>> y="2"
>> />
>
>
> Except this breaks down in the case of ZConfig <multikey> elements,
> which allow configuration like this:
>
> <foo>
> x = 1
> x = 2
> y = 3
> </foo>
Yes, but both ZCML and TAL already deal with these kinds of cases, in
fact, they do so quite clunkilly some might say ;-)
<foo
x="1 2"
y="3"
/>
tal:attributes anyone? ;-)
> There are also ways to arrange configuration like this:
>
> <search-path>
> directory1
> directory2
> directory3
> </search-path>
Well, you know, XML does allow for elements to have contents ;-)
ZCML should grow the ability to support elements having content, IMNSHO...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope3-dev
mailing list