summaryrefslogtreecommitdiff
path: root/finance/gnucash-docs/files/patch-xsl_titlepage2.xsl
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-17 00:28:02 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-10-17 00:28:02 +0000
commit1c9327234faa2b8f3fcabec838e354bd800b3117 (patch)
tree799c795e0458006b37c5e980b2ea1fb12041001c /finance/gnucash-docs/files/patch-xsl_titlepage2.xsl
parentNew port: rendercheck, a small app to test Render extension conformance. (diff)
Make these stylesheets XSLT compliant by making sure templates with the same
name are not included multiple times into the same stylesheet. Instead, use <xsl:import/>, and nest them with the proper import precedence so that the proper overrides occur. As of libxslt-1.1.11, stricter template name checking is done with <xsl:include/>. Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=119632
Diffstat (limited to '')
-rw-r--r--finance/gnucash-docs/files/patch-xsl_titlepage2.xsl18
1 files changed, 18 insertions, 0 deletions
diff --git a/finance/gnucash-docs/files/patch-xsl_titlepage2.xsl b/finance/gnucash-docs/files/patch-xsl_titlepage2.xsl
new file mode 100644
index 000000000000..3acf6206e822
--- /dev/null
+++ b/finance/gnucash-docs/files/patch-xsl_titlepage2.xsl
@@ -0,0 +1,18 @@
+--- xsl/titlepage2.xsl.orig Sat Oct 16 20:19:35 2004
++++ xsl/titlepage2.xsl Sat Oct 16 20:20:35 2004
+@@ -4,6 +4,8 @@
+ <!-- This is a customization layer, to change some of the things in
+ auto-generated titlepage.xsl -->
+
++ <xsl:import href="titlepage.xsl"/>
++
+ <xsl:template xmlns:xsl="http://www.w3.org/1999/XSL/Transform" name="book.titlepage">
+ <!-- Added to create a separate titlepage -->
+ <xsl:param name="next" select="."/>
+@@ -217,4 +219,4 @@
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+-</xsl:stylesheet>
+\ No newline at end of file
++</xsl:stylesheet>