diff options
author | Shaun McCance <shaunm@redhat.com> | 2017-08-04 11:48:54 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2017-08-04 11:48:54 -0400 |
commit | 2130a932b910aaf6f5bdd496070d6b8c6d5d7515 (patch) | |
tree | 9c4c8905047a446e4d20cc72ee188bf3d7bb0580 /xslt/mallard/html/mal2html-api.xsl | |
parent | dd0b02d6c69cfa2d5b8cf06d036139776fee36c5 (diff) | |
download | yelp-xsl-2130a932b910aaf6f5bdd496070d6b8c6d5d7515.tar.gz |
Always pass the links element as $node thru linking templates
Diffstat (limited to 'xslt/mallard/html/mal2html-api.xsl')
-rw-r--r-- | xslt/mallard/html/mal2html-api.xsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xslt/mallard/html/mal2html-api.xsl b/xslt/mallard/html/mal2html-api.xsl index d16cd268..b97f8063 100644 --- a/xslt/mallard/html/mal2html-api.xsl +++ b/xslt/mallard/html/mal2html-api.xsl @@ -50,7 +50,7 @@ elements. It should be called by an appropriate template that handles the #{links} element. --> <xsl:template name="mal2html.api.links.function"> - <xsl:param name="node"/> + <xsl:param name="node" select="."/> <xsl:param name="links"/> <xsl:choose> <xsl:when test="$node/@api:mime = 'text/x-csrc' or $node/@api:mime = 'text/x-chdr'"> @@ -83,7 +83,7 @@ have an #{api:name} element will be passed to *{mal2html.links.ul} after the synopsis. --> <xsl:template name="mal2html.api.links.function.c"> - <xsl:param name="node"/> + <xsl:param name="node" select="."/> <xsl:param name="links"/> <xsl:variable name="out_"> <xsl:for-each select="$links"> |