File: patch-db2latex-nested-param-bug

package info (click to toggle)
bind9 1:9.9.5.dfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 42,976 kB
  • sloc: ansic: 313,014; sh: 53,890; cpp: 19,217; xml: 18,756; perl: 6,769; makefile: 5,043; tcl: 842; awk: 236; python: 129
file content (18 lines) | stat: -rw-r--r-- 774 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;; $Id: patch-db2latex-nested-param-bug,v 1.1 2007/02/06 20:58:13 sra Exp $
;;
;; Latest version of xsltproc doesn't like <xsl:param><xsl:param/></xsl:param>.

--- xsl/lists.mod.xsl.~1~	Sat Jan 31 06:53:50 2004
+++ xsl/lists.mod.xsl	Tue Feb  6 15:41:12 2007
@@ -269,10 +269,8 @@
 		</doc:notes>
 	</doc:template>
 	<xsl:template match="varlistentry">
-		<xsl:param name="next.is.list">
 			<xsl:param name="object" select="listitem/*[1]"/>
-			<xsl:value-of select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/>
-		</xsl:param>
+		<xsl:param name="next.is.list" select="count($object[self::itemizedlist or self::orderedlist or self::variablelist])"/>
 		<xsl:variable name="id">
 			<xsl:call-template name="label.id"/>
 		</xsl:variable>