to process the children of the element pointed to by the endterm
ID. Formerly it just used the built-in template and rendered
just the text nodes.
<xsl:text>???</xsl:text>
</xsl:when>
<xsl:otherwise>
- <xsl:apply-templates select="$etarget" mode="xref.text"/>
+ <xsl:apply-templates select="$etarget" mode="endterm"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
</xsl:choose>
</xsl:template>
+<xsl:template match="*" mode="endterm">
+ <xsl:apply-templates select="./node()"/>
+</xsl:template>
+
<!-- ==================================================================== -->
<xsl:template match="*" mode="xref-to">