Filter Content

Last modified 22 Apr 2021 17:31 +02:00

Description

Removes selected items from the input data. For example, give a list of users, removes all the data except for names and password values.

Input

Any container value.

Output

Container value with selected subitems removed.

Properties

Property name Meaning

keep

List of paths to keep.

remove

List of paths to remove.

These properties are mutually exclusive.

Examples

Assuming users on input, keeps only their names and password values
<filterContent>
  <keep>name</keep>
  <keep>credentials/password/value</keep>
</filterContent>