xslt if-else ケースのこのブロックがあり、ユニコード文字と直接比較する方法があるかどうか疑問に思っていましたか?
以下に示すコードの行に沿った何か?または、xslt には、この目的で使用できる関数が組み込まれていますか? つまり、Unicode を html エンティティに変更し、その方法で比較しますか?
もちろん、もっと良い方法がある場合は、撃ってください。ありがとう。
<xsl:choose>
<xsl:when test="status">
<xsl:if test="status='تم المحاولة'">
<font color="#00CC00"><xsl:value-of select="status" /></font><br/>
<!--a href="/Elearning_Platform/xfiles/reports/view_reports.modcgi?asm_lid={@lom_id}&did={@dispatch_id}&rm_student_id={@person_id}&report_type=2">[View Results]</a-->
</xsl:if>
</xsl:when>
<xsl:otherwise>
</xsl:otherwise>
</xsl:choose>