From e3fb6c692a55aaa70928598104ddd091461e358b Mon Sep 17 00:00:00 2001 From: Mauritz Jeanson Date: Thu, 26 Apr 2007 15:42:18 +0000 Subject: [PATCH] Added normalize-space() around titles and index entries to work around whitespace problems. Added support for glossary and bibliography in toc and map files. --- xsl/javahelp/javahelp.xsl | 78 ++++++++++++++++++++++++++++++--------- 1 file changed, 61 insertions(+), 17 deletions(-) diff --git a/xsl/javahelp/javahelp.xsl b/xsl/javahelp/javahelp.xsl index a3adcdcd3..74ebbc26b 100644 --- a/xsl/javahelp/javahelp.xsl +++ b/xsl/javahelp/javahelp.xsl @@ -92,7 +92,7 @@ references. In that case you can select appropriate encoding here. - <xsl:value-of select="$title"/> + <xsl:value-of select="normalize-space($title)"/> @@ -166,7 +166,7 @@ references. In that case you can select appropriate encoding here. - + @@ -182,9 +182,9 @@ references. In that case you can select appropriate encoding here. - + - @@ -200,10 +200,10 @@ references. In that case you can select appropriate encoding here. - + @@ -218,7 +218,7 @@ references. In that case you can select appropriate encoding here. - + @@ -234,7 +234,7 @@ references. In that case you can select appropriate encoding here. - + @@ -250,7 +250,7 @@ references. In that case you can select appropriate encoding here. - + @@ -266,7 +266,7 @@ references. In that case you can select appropriate encoding here. - + @@ -282,7 +282,7 @@ references. In that case you can select appropriate encoding here. - + @@ -296,13 +296,53 @@ references. In that case you can select appropriate encoding here. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -339,7 +379,9 @@ references. In that case you can select appropriate encoding here. | key('id',$rootid)//sect3 | key('id',$rootid)//sect4 | key('id',$rootid)//sect5 - | key('id',$rootid)//indexterm + | key('id',$rootid)//indexterm + | key('id',$rootid)//glossary + | key('id',$rootid)//bibliography | key('id',$rootid)//*[@id]" mode="map"/> @@ -361,6 +403,8 @@ references. In that case you can select appropriate encoding here. | //sect4 | //sect5 | //indexterm + | //glossary + | //bibliography | //*[@id]" mode="map"/> @@ -394,7 +438,7 @@ references. In that case you can select appropriate encoding here. - @@ -482,20 +526,20 @@ references. In that case you can select appropriate encoding here. - + , - + , - + - + -- 2.40.0