Fred Drake wrote:
On 1/21/06, Jim Fulton <[EMAIL PROTECTED]> 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
_______________________________________________
Zope3-dev mailing list
[email protected]
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com