From: Mauritz Jeanson Date: Wed, 15 Aug 2007 10:44:03 +0000 (+0000) Subject: Moved the raw.help.title and help.title variables to the hhp-main template to make... X-Git-Tag: release/1.79.1~6^2~1795 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7f03547684fa4feb88478f298e682163cec0dd55;p=docbook-dsssl Moved the raw.help.title and help.title variables to the hhp-main template to make sure a value is assigned after the namespace-stripping has been done. This prevents "Request for title of element with no title" errors. Added "//db:indexterm[1]|//ng:indexterm[1]" to the select expression of the global htmlhelp.generate.index parameter, so that an index can be built for both DB 4 and DB 5/NG documents (it's a little ugly, but a value needs to be assigned somehow). --- diff --git a/xsl/htmlhelp/htmlhelp-common.xsl b/xsl/htmlhelp/htmlhelp-common.xsl index ab87babc2..2064dea46 100644 --- a/xsl/htmlhelp/htmlhelp-common.xsl +++ b/xsl/htmlhelp/htmlhelp-common.xsl @@ -27,34 +27,15 @@ - - + + - - - - - - - - - - - - - - - - - - - - + @@ -152,6 +133,27 @@ + + + + + + + + + + + + + + + + + + + + +