Stephan Richter wrote:
On Tuesday 14 March 2006 06:29, Andreas Jung wrote:
Could you please explain how zope.schema would deal with hierarchies?
As I mentioned earlier the file format is uninteresting at this point.
Having an easy and flexible framework for defining a configuration schema
should be the goal and I have currently no idea how you would define
some more complex configuration schemas using zope.schema.
I have used schemas multiple times to represent hierarchies, most recently in
the zf.zscp work, where I parse XML files using a schema or a set thereof.
You simply use the Object field to connect a sub-schema to a schema. I have
also used hierarchical schema trees in the principal settings code, where you
hook in dynamically new schemas.
Exactly.
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