I traced this problem to what may be a difference of interpretation of
the
XSL-FO spec. The anchor element is converted by the FO stylesheet to
an
empty fo:wrapper element with an id attribute. This works as an
internal
xref target in FOP and XEP, but not in XSL Formatter. If I change the
anchor template to output an empty fo:inline instead, then it works.
You
can make that customization in your stylesheet:
<xsl:template match="anchor">
<fo:inline id="{@id}"/>
</xsl:template>
You might also write to Antenna House and ask them about whether an
empty
wrapper should serve as a valid target for a cross reference. Since
it does
accept an id attribute, I would think it should.