This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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. */
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |