Introspecting Plone Supermodel/schema by fieldsets

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

If I am not wrong they are stored in a variable called "groups":

Inspecting the code should give you some hints.
Sorry for the few details.