summaryrefslogtreecommitdiff
path: root/xslt
diff options
context:
space:
mode:
authorShaun McCance <shaunm@gnome.org>2015-04-27 23:25:13 -0400
committerShaun McCance <shaunm@gnome.org>2015-04-27 23:25:13 -0400
commit181c366614aa920fbb4e7d693cbdc7b691b70832 (patch)
treeaada9df00cc46072e4dec8752e94cc8edd411724 /xslt
parent48f6119e313cfab457fda8b1004b07e8afe91523 (diff)
downloadyelp-xsl-181c366614aa920fbb4e7d693cbdc7b691b70832.tar.gz
Fixing up some XSLT validity issues
libxslt didn't seem to care, but saxon does
Diffstat (limited to 'xslt')
-rw-r--r--xslt/docbook/html/db2html.xsl4
-rw-r--r--xslt/mallard/html/mal2html-links.xsl4
-rw-r--r--xslt/mallard/html/mal2html.xsl4
3 files changed, 6 insertions, 6 deletions
diff --git a/xslt/docbook/html/db2html.xsl b/xslt/docbook/html/db2html.xsl
index c548d1eb..96bd4c16 100644
--- a/xslt/docbook/html/db2html.xsl
+++ b/xslt/docbook/html/db2html.xsl
@@ -31,11 +31,11 @@ sets a namespace alias to output non-XML HTML. This stylesheet sets
@{html.xhtml} to #{false}.
-->
+<xsl:import href="db2xhtml.xsl"><?pass?></xsl:import>
+
<xsl:param name="html.xhtml" select="false()"/>
<xsl:param name="db.profile.outputformat" select="'html'"/>
-<xsl:include href="db2xhtml.xsl" pass="true"><?pass?></xsl:include>
-
<xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default"/>
<xsl:namespace-alias stylesheet-prefix="mml" result-prefix="#default"/>
diff --git a/xslt/mallard/html/mal2html-links.xsl b/xslt/mallard/html/mal2html-links.xsl
index 7b950352..36b07ab5 100644
--- a/xslt/mallard/html/mal2html-links.xsl
+++ b/xslt/mallard/html/mal2html-links.xsl
@@ -1198,8 +1198,8 @@ when determining which links to output.
<!--#* _mal2html.links.heading -->
<xsl:template name="_mal2html.links.heading">
- <xsl:param name="node" select="$node"/>
- <xsl:param name="links" select="$links"/>
+ <xsl:param name="node" select="."/>
+ <xsl:param name="links" select="/false"/>
<xsl:param name="role" select="''"/>
<xsl:param name="nodesc" select="false()"/>
<ul class="links-heading">
diff --git a/xslt/mallard/html/mal2html.xsl b/xslt/mallard/html/mal2html.xsl
index 2a32d10b..abcd2810 100644
--- a/xslt/mallard/html/mal2html.xsl
+++ b/xslt/mallard/html/mal2html.xsl
@@ -31,11 +31,11 @@ sets a namespace alias to output non-XML HTML. In particular, this stylesheet
sets @{html.xhtml} to #{false} and @{mal.if.target} to #{'target:html'}.
-->
+<xsl:import href="mal2xhtml.xsl"><?pass?></xsl:import>
+
<xsl:param name="html.xhtml" select="false()"/>
<xsl:param name="mal.if.target" select="'target:html'"/>
-<xsl:include href="mal2xhtml.xsl" pass="true"><?pass?></xsl:include>
-
<xsl:namespace-alias stylesheet-prefix="html" result-prefix="#default"/>
<xsl:namespace-alias stylesheet-prefix="mml" result-prefix="#default"/>