From: Martijn v. B. <lo...@us...> - 2002-05-01 20:55:22
|
Update of /cvsroot/docbook/contrib/xsl/db2man In directory usw-pr-cvs1:/tmp/cvs-serv25868 Modified Files: db2man.xsl Log Message: This patch adds support for multiple refnames. (another twaugh patch) Index: db2man.xsl =================================================================== RCS file: /cvsroot/docbook/contrib/xsl/db2man/db2man.xsl,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** db2man.xsl 1 May 2002 20:45:37 -0000 1.13 --- db2man.xsl 1 May 2002 20:55:14 -0000 1.14 *************** *** 192,198 **** <xsl:template match="refnamediv"> <xsl:text>.SH NAME </xsl:text> ! <xsl:value-of select="refname"/> <xsl:text> \- </xsl:text> ! <xsl:value-of select="refpurpose"/> </xsl:template> --- 192,203 ---- <xsl:template match="refnamediv"> <xsl:text>.SH NAME </xsl:text> ! <xsl:for-each select="refname"> ! <xsl:if test="position()>1"> ! <xsl:text>, </xsl:text> ! </xsl:if> ! <xsl:value-of select="."/> ! </xsl:for-each> <xsl:text> \- </xsl:text> ! <xsl:value-of select="normalize-space (refpurpose)"/> </xsl:template> |