1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
2
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3
xmlns:yelp="http://www.gnome.org/yelp/ns"
4
xmlns="http://www.w3.org/1999/xhtml"
5
extension-element-prefixes="yelp"
8
<xsl:import href="/opt/gnome/share/yelp-xsl/xslt/docbook/html/db2xhtml.xsl"/>
10
<xsl:include href="yelp-common.xsl"/>
12
<xsl:param name="db.chunk.info_basename" select="'//about'"/>
14
<xsl:param name="db2html.navbar.top" select="false()"/>
15
<xsl:param name="db2html.sidenav" select="false()"/>
17
<!-- == db.xref.target == -->
18
<xsl:template name="db.xref.target">
19
<xsl:param name="linkend"/>
20
<xsl:param name="target" select="key('idkey', $linkend)"/>
21
<xsl:param name="is_chunk" select="false()"/>
23
<xsl:when test="$is_chunk">
24
<xsl:value-of select="concat('xref:', $linkend)"/>
27
<xsl:variable name="target_chunk_id">
28
<xsl:call-template name="db.chunk.chunk-id">
29
<xsl:with-param name="node" select="$target"/>
32
<xsl:value-of select="concat('xref:', $target_chunk_id)"/>
33
<xsl:if test="$target_chunk_id != $linkend">
34
<xsl:value-of select="concat('#', $linkend)"/>