8,906
社区成员
发帖
与我相关
我的任务
分享
<xsl:variable name="b" select="document('b.xml')"/>
<xsl:template match="/">
<xsl:for-each select="stu">
<xsl:sort select="$b/info[string(sid) eq string($p)]/sexamid" type="number"/>
<stu>
<xsl:copy-of select="*">
<xsl:variable name="p" select="./sid"/>
<xsl:copy-of select="$b/info[string(sid) eq string($p)]/sexamid">
</stu>
</xsl:for-each>
<xsl:template>