I have a Dexterity types that has its schema defined as XML. The fields are grouped inside the XML into fieldsets using <fieldset>...</fieldset>
. Is it possible to retrieve the fieldsets programmatically from the schema?
There is
zope.schema.getFields(IMySchema)
zope.schema.getFieldsInOrder(IMySchema)
but that does not include any grouping by fieldset information.
Or do I have to reparse the supermodel XML myself?
-aj