I am trying to tweak a DocBook stylesheet.
The quick and dirty method (i.e., editing
xxe-config:docbook/xsl/html/block.xsl )
works, but I would like to do something cleaner.
In my .xxe config file I have the following section:
=-=-=-=-=-=
<transform stylesheet="xsl/html/chunk.xsl"
file="__doc.xml" to="__doc.html" >
[...] lot of parameters
</transform>
=-=-=-=-=-=
and the local stylesheet just calls the main one.
=-=-=-=-=-=
<?xml version="1.0" encoding="US-ASCII"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xmlns="http://www.w3.org/1999/xhtml" version="1.0"
exclude-result-prefixes="exsl">
<xsl:import href="xxe-config:docbook/xsl/html/chunk.xsl"/>
</xsl:stylesheet>
=-=-=-=-=-=
I naively thought that it was sufficient to add the (modified) section
<xsl:template match="blockquote">
[...]
</xsl:template>
after the import, but XMLmind complains. Should I copy all files (well, actually
docbook.xsl and block.xsl) to my userdir, or there is a simpler way to do this?
--
ciao, .mau.