From: Michael S. <xm...@us...> - 2006-03-30 01:27:14
|
Update of /cvsroot/docbook/xsl/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4591/html Modified Files: refentry.xsl Log Message: Added new refclass.suppress param for suppressing display of Refclass in HTML and FO output. Did not add it to manpages because manpages stylesheet is currently just silently ignoring Refclass anyway. Closes request #1461065. Thanks to Davor Ocelic (docelic) for reporting. Index: refentry.xsl =================================================================== RCS file: /cvsroot/docbook/xsl/html/refentry.xsl,v retrieving revision 1.22 retrieving revision 1.23 diff -u -U2 -r1.22 -r1.23 --- refentry.xsl 28 Oct 2005 12:35:15 -0000 1.22 +++ refentry.xsl 30 Mar 2006 01:26:52 -0000 1.23 @@ -15,4 +15,7 @@ <!-- ==================================================================== --> +<!--* FIXME - need to document the following param --> +<xsl:param name="refclass.suppress" select="0"/> + <xsl:template match="reference"> <xsl:call-template name="id.warning"/> @@ -190,4 +193,5 @@ <xsl:template match="refclass"> + <xsl:if test="$refclass.suppress = 0"> <p> <b> @@ -199,4 +203,5 @@ </b> </p> + </xsl:if> </xsl:template> |