ADO.NET Provider for JSON

Build 24.0.9060

api:notequals

The api:notequals keyword verifies that the attribute does not match the specified value. It has a similar behavior to the api: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:
<api:call op="fileListDir">
  <api:notequals attr="file:extension" value=".err">
    <api:push/>
  </api:notequals>
</api:call>

See Also

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

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060