David Quinn-Jacobs wrote:
> We have spent several hours trying to get the "Convert to HTML" in the 
> personal edition of xxe to respond to style changes.  We have directly 
> modified param.xsl and docbook.xsl (changing colors), etc.  Even though 
> it says "Compiling <the-local-docbook.xsl-file>...", we see no changes 
> in the output.
> 
> Are we doing something wrong, or is there a restriction on the personal 
> edition that makes it ignore .xsl modifications and load some internal 
> version of the docbook stylesheets instead?

No there are absolutely no restrictions at all and the source XSLT style 
sheets are not cached in any way.

If I change a few colors in 
<XXE_distrib_dir>/config/docbook/xsl/html/docbook.xsl and I run "Convert 
to HTML" or "Convert to HTML (one page, no TOC)", I immediately see my 
changes in the generated HTML file.

Note that the ``driver'' XSLT stylesheet for "Convert to HTML" is not 
<XXE_distrib_dir>/config/docbook/xsl/html/docbook.xsl but 
<XXE_distrib_dir>/config/docbook/xsl/html/chunk.xsl (but chunk.xsl 
includes docbook.xsl).

May be the bundled html.css (which is copied along the generated HTML 
files) supercedes what you have done directly in docbook.xsl.

Replacing this file by you own version and changing style sheet params 
in <XXE_distrib_dir>/config/docbook/xslMenu.incl are the recommended way 
to customize the generated HTML. However, this does not explain the 
problem you have.





Reply via email to