Data processorsA data processor is a function that operates on and transforms harvested data. You can add data processors to your model leaves, i.e. to Column nodes, to manipulate their values. The data processors are executed for each harvested row of data. After the data processor has executed, the value of the leaf is the value returned by the data processor.
Attached the data processor to the leaf that should receive the resulting value. The input value, to the data processor, could either originate from the same leaf or from another leaf. You might for example want to clean the harvested data using a RegEx data parser. However, in most cases, data processors are added to manually created leaves, i.e. leaves that do not automatically retrieve their data during harvesting. If you for example harvest an Xml document, you might want to extract data from certain nodes to certain leaves.
Click on the data processor item in the list box to display the properties of the data processor. The name of the list box item is the name of the currently selected data processor, or Disabled, if no data processor has been selected.
Select the Name property and click on the ellipsis button to change data processor.
|
Constant
|
Returns a preset, constant, value. |
|
DateTime
|
Returns the current DateTime formatted according to the specified format string, e.g. yyyy-MM-dd |
|
Embed Base64
|
Returns a string containing the Base64 encoding of binary data. |
|
External
|
Returns whatever data generated by an external application. |
|
Guid
|
Returns a new GUID (Globaly Unique IDentifier). |
|
Lan file
|
Returns the contents of a file. |
|
MapList
|
The Map List data processor allows you to map harvested data to a list of predefined values. |
|
MapXml
|
The Map Xml data processor allows you to map harvested data to values defined in an xml file. |
|
|
Parent
|
Returns the value of a parent leaf. |
|
RegEx
|
Returns the result of regular expression, i.e. text pattern matching. |
|
RegEx.Replace
|
Replaces content of a string using a regular expression, i.e. text pattern matching. |
|
SaveAsFile
|
Returns the relative path a new file containing the data of the leaf, i.e.it creates a file alongside the XML-file. |
|
SHA-1
|
Returns the SHA-1 sum. |
|
|
|
|
Size
|
Returns the number of bytes of binary data. |
|
XPath
|
Returns the result of an XPath expression, i.e. used to extract values from XML documents or snippets. |
|