我想我通过使用得到了预期的结果:
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="xref[contains(@rid, ' ')]">
<xsl:variable name="ref" select="text()"/>
<xsl:for-each select="tokenize(@rid, ' ')">
<xsl:choose>
<xsl:when test="position()=1">
<xref ref-type="bibr" rid="{.}">
<xsl:value-of select="substring-before($ref, '–')"/>
</xref>
</xsl:when>
<xsl:when test="position()=last()">
<xsl:text>–</xsl:text>
<xref ref-type="bibr" rid="{.}">
<xsl:value-of select="substring-after($ref, '–')"/>
</xref>
</xsl:when>
<xsl:otherwise>
<xsl:text> </xsl:text>
<xref ref-type="bibr" rid="{.}"/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
但这主要是基于根据您的单个示例猜测规则是什么......