arc:notequals

Version 24.2.9039


arc:notequals


Use the arc:notequals keyword to verify that an attribute does not match the specified value. It has a similar behavior to the arc:equals keyword.

Parameters

  • item: The item in which to compare the attribute. If not specified, the default item is used.
  • attr: The name of the attribute to compare.
  • value: The reference value to compare the attribute with.
  • action: The action to perform if the expression evaluates to true. Allowed values: break or continue.

Control Attributes

None

Example

List all files except .err files:

<arc:call op="fileListDir">
  <arc:notequals attr="file:extension" value=".err">
    <arc:push/>
  </arc:notequals>
</arc:call>

See Also

  • arc:equals: Check for equality.
  • arc:else: Create a block which is executed if the condition is not satisfied.