2019.2

Table Of Contents
l
On text: Triggers a new page in the Data Sample when a specific string is found in
a certain location.
l
Word to find: Compares the text value with the value in the data source.
l
Match case: Activates a case sensitive text comparison.
l
Location: Choose Selected area or Entire width to use the value of the
current data selection as the text value.
l
Left/Right: Use the spin buttons to set the start and stop columns to the
current data selection (Selected area) in the record.
l
Lines before/after: This option places the delimiter a certain number of lines
before or after the current line. This is useful if the text that triggers the
delimiter is not on the first line of each page.
l
Text from right to left: Sets the writing direction of the data source to right-to-left.
l
Expand tabs to spaces: Replaces tabs with the given number of spaces.
l
Ignore CR/LF at end of file: Instructs the DataMapper to ignore the CR, LF or CR/LF
characters when they are the last characters in a file. This prevents the addition of an
unintended trailing record when the data mapping configuration is set up to cut on every
line.
XML File Input Data settings
For an XML file you can either choose to use the root node, or select an element type, to create
a new delimiter every time that element is encountered.
l
Use root element: Selects the top-level element. No other boundaries can be set. If there
is only one top-level element, there will only be one record.
l
Use specific element: Displays a list containing all the elements in the XML file.
Selecting an element causes a new page of data to be created every time an instance of
this element is encountered.
l
Use XPath: Enter an XPath to create a delimiter based on the node name of elements.
For example: ./*[starts-with(name(),'inv')] sets a delimiter after every
element of which the name starts with 'inv'. Note that starts-with() is an XPath
function. For an overview of XPath functions, see Mozilla: XPath Functions.
The XPath may also contain JavaScript code. In order to use JavaScript:
l
The XPath must start with =
l
The entire JavaScript statement must be enclosed in curly brackets: { ... }
Page 345