我知道 freemarker 逻辑和 is &&
,但是当我在 xDocReport 中使用它时,发生错误:SystemId Unknown; Line #4; Column #2796; The entity name must immediately follow the '&' in the entity reference.
. 我将其更改为&&
and \u0026\u0026
,但都不起作用。
代码细节:«[#if scope!='a' && scope!='b']»
我认为这是一个基本的用法。我错过了什么吗?谢谢!
ps 从错误消息中,可以使用指令 <and>,但我找不到任何关于它的技术文档。