[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] whitespace handling in manpages stylesheet
On Thu, Nov 06, 2003 at 07:11:14PM +0000, Brian McGurk wrote:
> I think the problem comes down to the substitution of spaces with
> escaped spaces being done before the normalize-space function is
> called. So the spaces and newlines all get left in.
Yes. How about this additional template?:
<xsl:template match="funcprototype//text()">
<xsl:value-of select="normalize-space()"/>
<xsl:if test="following-sibling::parameter or
following-sibling::function">
<xsl:text> </xsl:text>
</xsl:if>
</xsl:template>
Tim.
*/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]