[Zope3-dev] RFC: ZConfig and other formats for ZCML

Fred Drake fdrake at gmail.com
Sat Jan 21 13:08:45 EST 2006


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>

There are also ways to arrange configuration like this:

  <search-path>
    directory1
    directory2
    directory3
  </search-path>

So the mapping between ZCML and ZConfig isn't entirely obvious to me.


  -Fred

--
Fred L. Drake, Jr.    <fdrake at gmail.com>
"There is no wealth but life." --John Ruskin


More information about the Zope3-dev mailing list