def getConfigAsXML(self): """ Return XML representing the registry's configuration. """ from exportimport import PluginRegistryExporter pre = PluginRegistryExporter(self).__of__(self) return pre.generateXML()