Kim Schulz wrote: > I am trying to modify the Docbook addon such that it uses some templates > and xsl which is installed another place than in the addon directory. > > Normally the addon folder contains the following dirs: > Css/ > Templates/ > Dtd/ > Xsl/ > > I want to have DTD, XSL, and Templates installed elsewhere (since they > are available via our corporate styles elsewhere). I have modified the > xxe file to point to the right templates (which then points to the right > dtd's). > The only place I could find a reference to the XSL was in the file > xslMenu.incl which is included from the xxe file. I commented out the > inclusion and then removed the xsl/ dir. But now the XMLeditor does not > show my templates in the list anymore. > Does the editor need anything else from the xsl folder which is included > elsewhere in the system?
No. (Except that the Simplified DocBook configuration also uses xslMenu.incl and xsl/. You should remove the slides/ and sdocbook/ directories too, unless you need them.) My guess is that your problem has nothing to do with the xsl/ subdirectory. I suspect that your problem is caused by the modifications you have made to the docbook.xxe file. (For example, all locations must be URLs and not filenames.) [1] Open the modified docbook.xxe and common.incl in XXE. Do you have validation errors? [2] Open an existing DocBook document. * Is it styled? * When you move the mouse over the document tab, you should see a tooltip looking like "C:\temp\foo.xml : DocBook". That is, has XXE recognized the opened document as being DocBook? If you don't find the problem yourself, do not hesitate to send us an archive containing the whole configuration.

