[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] Two issues on JavaHelp
> -----Original Message----- > From: Patrick Riffel > > and it turned > out that in jhelptoc.xml some <tocitem> had linebreaks in their "text" > attribute. These resulted from the input xml and I got rid of > them by adding > a normalize-space() here: > > > <xsl:template match="section" mode="jhtoc"> > <xsl:variable name="id"> > <xsl:call-template name="object.id"/> > </xsl:variable> > <xsl:variable name="title"> > <xsl:apply-templates select="." mode="title.markup"/> > </xsl:variable> > > <tocitem target="{$id}"> > <xsl:attribute name="text"> > <xsl:value-of select="normalize-space($title)"/> > </xsl:attribute> > <xsl:apply-templates select="section" mode="jhtoc"/> > </tocitem> > </xsl:template> > > > Maybe someone can check this? I can confirm this. JavaHelp cannot handle linefeed characters represented as 
 in attribute values (it works fine with linefeeds represented as ). Your customization fixes the problem (which affects JavaHelp index files too, btw). /MJ
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]