是否可以判断一个节点是否包含在(或等于)XSLT 中的另一个节点中?例如,考虑以下代码片段:
<xsl:variable name="itemSection" select=".."/>
<xsl:for-each select="key('enemyItems', @key)">
<xsl:variable name="enemyList" select="./attributes/@value"/>
<xsl:variable name="enemyListSection" select="../../.."/>
.
.
.
</xsl:for-each>
是否可以判断 itemSection 是否包含在(或等于)enemyListSection 中?