* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
die('YOU NEED TO REPLACE ???, !!! AND ||| IN THIS CLASS BEFORE YOU CAN USE IT.');
-class Xml???TemplateEngine extends BaseTemplateEngine implements CompileableTemplate, Registerable {
+class Xml???TemplateEngine extends BaseXmlTemplateEngine implements CompileableTemplate, Registerable {
/**
* Main nodes in the XML tree
*/
* read-protected
*/
protected function initXmlTemplateEngine ($typePrefix, $xmlTemplateType) {
+ // Get template instance
+ $applicationInstance = Registry::getRegistry()->getInstance('app');
+
// Determine base path
$templateBasePath = $this->getConfigInstance()->getConfigEntry('application_base_path') . $applicationInstance->getRequestInstance()->getRequestElement('app') . '/';