条件元素

内容模型

condition:==EMPTY

属性

  • @boolOperator(字符串)
  • @enabledIf(字符串)
  • @expr(字符串)

父项

<sysfilter>

子项

说明

利用此元素,可定义筛选条件。

使用和使用环境

<sysfiler> 元素可以包含多个过滤条件。

属性说明

  • boolOperator(字符串):如果多个 <conditions> 在同一个 <sysfilter> 元素,此属性允许您组合它们。 默认情况下,逻辑链路介于 <condition> 元素为“AND”。 “@boolOperator”属性允许您组合“OR”和“AND”类型链接。
  • enabledIf(字符串):条件激活测试。
  • expr(字符串):XTK表达式。

示例

<sysfilter>
  <condition enabledIf="hasNamedRight('admin')=false" expr="@city=[currentOperator/location/@city]" />
</sysfilter>

在此页面上