From: Norman W. <nw...@us...> - 2006-04-10 13:32:57
|
Update of /cvsroot/docbook/xsl2/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14554 Modified Files: gentext.xsl Log Message: Let's make boolean parameters 0/1 only (not also no/yes) Index: gentext.xsl =================================================================== RCS file: /cvsroot/docbook/xsl2/common/gentext.xsl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -U2 -r1.8 -r1.9 --- gentext.xsl 6 Nov 2005 20:42:09 -0000 1.8 +++ gentext.xsl 10 Apr 2006 13:32:48 -0000 1.9 @@ -814,10 +814,10 @@ <xsl:variable name="pagetype"> <xsl:choose> - <xsl:when test="$insert.olink.page.number = 'no' and - local-name($referrer) = 'olink'"> + <xsl:when test="$olink.insert.page.number = 0 + and local-name($referrer) = 'olink'"> <!-- suppress page numbers --> </xsl:when> - <xsl:when test="$insert.xref.page.number = 'no' and - local-name($referrer) != 'olink'"> + <xsl:when test="$insert.xref.page.number = 'no' + and local-name($referrer) != 'olink'"> <!-- suppress page numbers --> </xsl:when> @@ -842,7 +842,6 @@ <xsl:variable name="docnametype"> <xsl:choose> - <xsl:when test="($olink.doctitle = 0 or - $olink.doctitle = 'no') and - local-name($referrer) = 'olink'"> + <xsl:when test="$olink.doctitle = 0 + and local-name($referrer) = 'olink'"> <!-- suppress docname --> </xsl:when> |