<xsl:template match="*" mode="endterm">
<!-- Process the children of the endterm element -->
<xsl:variable name="endterm">
- <xsl:apply-templates select="child::node()"/>
+ <xsl:apply-templates select="child::node()" mode="no.anchor.mode"/>
</xsl:variable>
<xsl:choose>
level="any" format="1"/>
</xsl:when>
<xsl:when test="local-name($entry/*[1]) = 'abbrev'">
- <xsl:apply-templates select="$entry/*[1]"/>
+ <xsl:apply-templates select="$entry/*[1]" mode="no.anchor.mode"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="(@id|@xml:id)[1]"/>
level="any" format="1"/>
</xsl:when>
<xsl:when test="local-name(*[1]) = 'abbrev'">
- <xsl:apply-templates select="*[1]"/>
+ <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="(@id|@xml:id)[1]"/>
<xsl:when test="$glossentry.show.acronym = 'primary'">
<xsl:choose>
<xsl:when test="acronym|abbrev">
- <xsl:apply-templates select="(acronym|abbrev)[1]"/>
+ <xsl:apply-templates select="(acronym|abbrev)[1]" mode="no.anchor.mode"/>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="glossterm[1]" mode="xref-to">
</xsl:template>
<xsl:template match="glossterm|firstterm" mode="xref-to">
- <xsl:apply-templates/>
+ <xsl:apply-templates mode="no.anchor.mode"/>
</xsl:template>
<xsl:template match="index" mode="xref-to">
<xsl:choose>
<xsl:when test="refmeta/refentrytitle">
- <xsl:apply-templates select="refmeta/refentrytitle"/>
+ <xsl:apply-templates select="refmeta/refentrytitle" mode="no.anchor.mode"/>
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates select="refnamediv/refname[1]"/>
+ <xsl:apply-templates select="refnamediv/refname[1]" mode="no.anchor.mode"/>
</xsl:otherwise>
</xsl:choose>
- <xsl:apply-templates select="refmeta/manvolnum"/>
+ <xsl:apply-templates select="refmeta/manvolnum" mode="no.anchor.mode"/>
</xsl:template>
<xsl:template match="refnamediv" mode="xref-to">
<xsl:param name="referrer"/>
<xsl:param name="xrefstyle"/>
- <!-- to avoid the comma that will be generated if there are several terms -->
- <xsl:apply-templates/>
+ <xsl:apply-templates mode="no.anchor.mode"/>
</xsl:template>
<xsl:template match="co" mode="xref-to">
<xsl:text>[</xsl:text>
<xsl:choose>
<xsl:when test="local-name(*[1]) = 'abbrev'">
- <xsl:apply-templates select="*[1]"/>
+ <xsl:apply-templates select="*[1]" mode="no.anchor.mode"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="(@id|@xml:id)[1]"/>
<xsl:choose>
<xsl:when test="count(child::node()) > 0">
<!-- If it has content, use it -->
- <xsl:apply-templates/>
+ <xsl:apply-templates mode="no.anchor.mode"/>
</xsl:when>
<!-- else look for an endterm -->
<xsl:when test="@endterm">
<xsl:value-of select="$url"/>
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates/>
+ <xsl:apply-templates mode="no.anchor.mode"/>
</xsl:otherwise>
</xsl:choose>
</a>
<!-- ==================================================================== -->
<xsl:template match="title" mode="xref">
- <xsl:apply-templates/>
+ <xsl:apply-templates mode="no.anchor.mode"/>
</xsl:template>
<xsl:template match="command" mode="xref">