2021.1

Table Of Contents
l Date Language: Set the date language for a date value (ex: If English is selected,
the term May will be identified as the month of May).
l Treat empty as 0: A numerical empty value is treated as a 0 value.
XMLand JSON files
l Property: Displays a list of Source Record properties set in the Preprocessor step (see
"Preprocessor step" on page255).
l Type: Displays the type of the Source Record property. Read only field.
l Based on: Determines the origin of the data.
l Location: The contents of the data selection set below will be the value of the
extracted field. The data selection settings are different depending on the data
sample type.
l XPath / JsonPath: The path to the XML field / JSON element that is extracted.
For an overview of XPath functions, see Mozilla: XPath Functions.
For an overview of the JsonPath syntax, see https://github.com/json-
path/jsonpath.
l Use selection: Click to use the value of the current data selection for the
extraction.
Note
If the selection contains multiple lines, only the first line is
selected.
l Trim: Select to trim empty characters at the beginning or the end of the
field
l JavaScript : The result of the JavaScript Expression written below the drop-down
will be the value of the extracted field. If the expression contains multiple lines, the
last value attribution (variable = "value";) will be the value. See "DataMapper Scripts
API" on page382.
l Expression: The JavaScript expression to run.
Page 357