$this->setTemplateInstance($templateInstance);
// Read the XML file
- $this->getTemplateInstance()->loadObjectRegistryTemplate('object_registry');
+ $this->getTemplateInstance()->loadXmlTemplate('object_registry');
// Render the XML content
$this->getTemplateInstance()->renderXmlContent();