def __init__(self, raw, request, **kw):
        XsltParser.__init__(self, raw, request)

        # relative path to docbook.xsl and compiled_xsl
        docbook_html_directory = request.cfg.docbook_html_dir
        self.db_xsl = os.path.join(docbook_html_directory, 'docbook.xsl')
        self.db_compiled_xsl = os.path.join(docbook_html_directory, 'db_compiled.dat')

        self.wikiParser = WikiParser(raw=self.raw, request=self.request, pretty_url=1)
        self.key = 'docbook'
Beispiel #2
0
    def __init__(self, raw, request, **kw):
        XsltParser.__init__(self, raw, request)

        # relative path to docbook.xsl and compiled_xsl
        docbook_html_directory = request.cfg.docbook_html_dir
        self.db_xsl = os.path.join(docbook_html_directory, 'docbook.xsl')
        self.db_compiled_xsl = os.path.join(docbook_html_directory,
                                            'db_compiled.dat')

        self.wikiParser = WikiParser(raw=self.raw,
                                     request=self.request,
                                     pretty_url=1)
        self.key = 'docbook'
Beispiel #3
0
 def format(self, formatter):
     self.wikiParser.formatter = formatter
     XsltParser.format(self, formatter)
 def format(self, formatter, **kw):
     self.wikiParser.formatter = formatter
     XsltParser.format(self, formatter)