Jean-Marc Orliaguet wrote:
Jim Fulton wrote:


See:

  http://dev.zope.org/Zope3/ZConfigAndOtherFormatsForZCML

Comments and volunteers welcome.

Jim




What is the fundamental difference between ZConfig and ZCML apart from the esthetic appearance that everyone seems to be so concerned with?

ZConfig is also generally simpler.  For example, it doesn't use XML
namespaces and is thus less extensible.

I see that all the attributes in the ZCML format are presented as elements in the ZConfig format.

They aren't XML, so they aren't elements.  You could as easily argue
that the options in:

  <foo>
     x 1
     y 2
  </foo>

are really attributes of foo.  In ZCML, this might have been:

  <foo
     x="1"
     y="2"
     />

Jim

--
Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to