public function addTemplate($name = false)
    {
        // The template is on ignore list, don't add it
        if (in_array($name, $this->ignoreTemplates)) {
            return false;
        }

        $name .= '.xsl';

        foreach ($this->paths as $path) {
            if (is_readable($path.DIRECTORY_SEPARATOR.$name)) {
                $this->xsl->includeXSL($path.DIRECTORY_SEPARATOR.$name);

                return;
            }
        }
    }