Creating the Zope Tei Document class Step1: Add Product TeiDocument in Folder Products, id=TeiDocument Step2: In Product TeiDocument add ZClass TeiWidgets in TeiWidgets add Widgetmanager, widgets.. Step3: In Product TeiDocument add ZClass TeiDocument, Baseclasses : CatalogAware, XML Document, TeiWidgets Create Interfaces, Meta: TeiDocument Step4: Add DTMLMethods in ZClass TeiDocument render_TEI, view, index_html, etc Step5: Add at least the default view to the TeiDocument ZClass, views Step6: Add all the widgets needed to the xml widgetclass, don't forget to add them to the widgetmanager as well. Some DTML examples: get attribute url: