You are not logged in! Log in or Register

DataFilter

Description

The DataFilter is a component that filters data from its' data input and outputs is either as a single string, or a data subset.

Attributes

  • CurrentIndex [integer]: If set, defines the index of the filtered string or data element to output through the output connectors. If not set (or out-of-limits), the String output will output the first filtered string and the data output will output all filtered data. This number is zero-based (i.e. the first element retrieved has index zero. Default: not set.
  • Filter [string]: The filter selects the item(s) you want to output. For example: '.rss.channel.items.title' will give all the titles in a data object that contains an RSS feed.
  • Input [data input]: the data input
  • Name [string]: The name of the block.

Output connectors

  • Data: When the filter retrieves non-endpoints, the subsets of data that satisfy the filter will be output. If CurrentIndex is specified, only that data is returned.
  • String: When the filter retrieves "leaves" or endpoints of the data input tree, the String output will output the value of the first retrieved elements or the element specified by the CurrentIndex attribute.

User comments

Nothing comments yet. Be the first!

Leave a comment

You need to be logged in to post a comment.