xref|link — Xref and Link XSL Template
<xsl:template match="xref|link"> <xsl:variable name="targets" select="key('id',@linkend)"/> <xsl:variable name="target" select="$targets[1]"/> <xsl:variable name="refelem" select="local-name($target)"/> ... </xsl:template>
Undocumented.