2019.1

Table Of Contents
XML data selections
XML data selections are used to retrieve an element's name, value or count from an XML file.
Syntax
xmlget(XPath[, Value option, Case option, Trim option])
Here is a breakdown of the syntax:
l
xmlget(): Always surrounds a data selection.
l
Value Options:
l
Count: The number of elements on the same level in the same node that have the
same name.
l
Name: The element's name.
l
Value: The element's value.
l
Case Options: This can be one of three options:
l
KeepCase: Keeps the current uppercase and lowercase characters as they are.
l
LowerCase: Converts all characters to their lowercase equivalent.
l
UpperCase: Converts all characters to their uppercase equivalent.
l
Trim Options: Enter "Trim" if you want to trim empty spaces before and after the data
selection or "NoTrim" to retain the extra spaces.
About data emulation
An emulation specifies how to interpret a data file. It is basically the method through which
PlanetPress Workflow parses and displays the data. If the emulation is set to CSV (comma
separated values), for instance, commas encountered in the data will typically be considered as
value separators. The way data selections are made depends on the emulation (see "Data
selections" on page48).
Every Workflow process has its own data emulation setting, which depends on the sample data
file you choose.
A process's data emulation is only visible in the Workflow configuration tool when using the
Data Selector e.g. to select a sample data file, but it is always set to one (Line Printer, by
default).
Page 54