Handling of href-anchor to correspond to xrefgen.xsl