On 11/03/2013 04:56 AM, Thomas Schraitle wrote:
Could you add the following 3 lines into the latest db4-upgrade.xsl stylesheet
and try it again?
-------------
<xsl:template match="*" mode="clean-terms">
<xsl:apply-templates select="." mode="copy"/>
</xsl:template>
-------------
(You can add it below the <xsl:template match="glossterm|term"> template
rule).
The above template rule just copies any element inside term unless it is a
classsynopsis, cmdsynopsis, or any other "special" element. These are handled
differently.
If it works for you, I can update the stylesheet in the SVN repository.
Thank you, Thomas! That lets through the various legal elements within
<term> and so seems to solve all the issues I've encountered to date with
the conversion. I did ask the Debian docbook5-xml package maintainers to
sync up with the Docbook top-of-trunk release, so hopefully the prepackaged
version will eventually get up to date as well.
Jon Leech
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]