">       <fo:basic-link internal-destination="{@linkend}"                      xsl:use-attribute-sets="xref.properties">         <xsl:variable name="etargets" select="key('id',@endterm)"/>         <xsl:variable name="etarget" select="$etargets[0]"/>         <xsl:choose>           <xsl:when test="count($etarget) = 0">             