[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] xsl/groff option argument is listed with the description
On Fri, May 23, 2003 at 01:23:11PM -0400, Sam Steingold wrote: > <xsl:template match="varlistentry/term"> > <span class="term"><xsl:call-template name="anchor"/> > <xsl:apply-templates/> .PD 0 .TP > </span> > </xsl:template> But <span class=...> is HTML, not groff! Try this: <xsl:template match="varlistentry/term|glossterm"> <xsl:variable name="content"> <xsl:apply-templates/> </xsl:variable> <xsl:value-of select="normalize-space($content)"/> <xsl:text> .PD 0 .TP </xsl:text> </xsl:template> <xsl:template match="varlistentry/term[position()=last()]|glossterm[position()=last()]" priority="2"> <xsl:variable name="content"> <xsl:apply-templates/> </xsl:variable> <xsl:value-of select="normalize-space($content)"/> </xsl:template> Tim. */
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]