arc:notequals

Version 22.0.8473


arc:notequals

Version 22.0.8473


The arc:notequals keyword verifies that the 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. Specifying an item is not required; if no item is specified, the default output item is used instead.
  • 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, 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.