以下のテンプレートがあります。
<xsl:for-each select="/abc/def">
<xsl:if test=".Id='xxx' and ./Role='yyy' ">
<xsl:value-of select=" 'true'"/>
</xsl:if>
ここで or 条件を xsl:if 条件に入れたいと思います。たとえば、条件 1 が true の場合、結果も true になるか、条件 2 が true の場合、結果も true になります。or 条件の入れ方を教えてください。私はこの解決策を思いつきました.それが正しいかどうかアドバイスしてください....
<xsl:if test=".Id='xxx' and ./Role='yyy' or test=".Id='ttt' and ./Role='ccc' ">