2022.2

Table Of Contents
process. Open the metadata viewer and save the metadata file to use it as a metadata sample
file in the Data Selector.
Syntax
GetMeta(Field Name [, Option Flags, Metadata Path])
Here is a breakdown of the syntax:
l
GetMeta(): Always surrounds metadata selections.
l
Field/Attribute Name: specifies the name of the field (or attribute, if the GetAttribute option flag
is set) to retrieve (see "Metadata" on page67).
l
Option Flag (optional): Sets the options for the selection (see table below).
l
Metadata Path (optional): Defines the precise path where the Metadata Field is located.
Note: Metadata Index/Count values are zero-based: the first element in any collection has
an index of 0 and the last element's index corresponds to the collection's length minus 1.
Option flags
The flag value to enter should be the sum of all desired flags. So, a value of 11, which is 8+2+1, means
that behavior 8, 2 and 1 are applied.
A value of 0 means 'no flag'.
Name Value Behavior
GetAttribute 1
Search for the name argument in the attribute collection instead of the default field collection. See: "Metadata"
on page67.
NoCascade 2
Search only the level specified by the path argument (defaults to Page level when path argument is empty),
instead of default behavior, which recursively goes up from the Page level to the Job level.
FailIfNotFound 4 Raise an error and crash the job is the specified name is not found instead of returning an empty string.
SelectedNodesOnly 8 Returns values from selected nodes only (i.e. ignores unselected nodes).
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:
Page 53