Mapping Functions Overview
There are five mapping function types: String, Mathematical,
Miscellaneous, Binary Data and Date.
Mapping Function Syntax and Datatypes
Use the Mapping Function to describe the purpose of the
function, set valid input parameters and syntax, and set what the
function returns.
Absolute Value function
The Absolute Value function determines the absolute
value of the parameter.
Add function
The Add function adds all the parameters.
Align Center function
The Align Center function centers a string within
a padding string. If the padding for both sides is uneven, the lesser
amount of padding is placed on the left.
Align Left function
The Align Left function places a string within a
padding string starting from the left-most character.
Align Right function
The Align Right function places a string within
a padding string ending at the right-most character.
Average function
The Average function determines the average value
for the sets of numeric nodes in all parameters.
Base64 Encode and Decode functions
Base64 refers to a specific MIME content transfer encoding.
Base64 encoding represents arbitrary sequences of octets in a form
that requires case sensitivity but need not be humanly readable.
Boolean function
The Boolean function evaluates the parameter and
returns either ‘true' or ‘false' depending on the datatype
of the input:
Ceiling function
The Ceiling function rounds the parameter up to
the next closest integer.
Concatenate function
The Concatenate function joins all parameter strings
into a single result in the order you specify the parameters.
Cast From Base64Binary function
The Cast From Base64Binary function casts from one
specific XML Schema data type to another XML Schema data type.
Casts From HexBinary function
The Casts From HexBinary function casts from one
specific XML Schema data type to another XML Schema data type.
Cast To Base64Binary function
The Cast To Base64Binary function casts from one
specific XML Schema data type to another XML Schema data type.
Cast To HexBinary function
The Cast To HexBinary function casts from one specific
XML Schema data type to another XML Schema data type.
CopyOf function
The CopyOf function copies the entire contents of
the source node to the destination node.
Count Function
The Count function determines the number of nodes
in all of the sets of nodes in parameters.
Digest/Hash function
The Digest/Hash function produces a digital summary
of information called a message digest. Message digests provide a
digital identifier for a digital document.
Divide function
The Divide function returns the decimal quotient
of the first parameter divided by all subsequent parameters.
Floor function
The Floor function rounds the parameter down to
the next closest integer.
Format Date String function
The Format Date String function converts the XML Schema
data type: xs:dateTime to a string in the format defined by the second
parameter.
Format Number function
The Format Number function returns a string that
is a number formatted to fit the specified pattern.
Get Current Date and Time function
The Get Current Date and Time function returns the
current date and time as a specific XML Schema data type.
Get Current Date function
The Get Current Date function returns the current
date (with the local timezone) as a XML Schema data type: xs:date.
Get Current Time function
The Get Current Time function returns the current
time (with the local timezone) as a XML Schema data type: xs:time
Length function
The Length function determines the number of character
in the parameter.
Lowercase function
The Lowercase function converts all uppercase characters
to lowercase characters.
Maximum function
The Maximum function determines the highest value
in the nodes, sets of numeric nodes, or numbers in parameters.
Minimum function
The Minimum function determines the lowest value
in the nodes, sets of numeric nodes, or numbers in parameters.
Modulo function
The Modulo function determines the remainder from
dividing the first parameter by all subsequent parameters.
Multiply function
The Multiply function returns the product of all
parameters.
Not function
The Not function is typically used in conditions
to specify negative or complimentary conditions.
Number function
The Number function changes the datatype of the
parameter to number.
Padding String function
The Padding String function returns a padding string
of the specified length and characters. Padding strings are used in
alignment functions.
Position function
The Position function is used with conditions to
represent the index to the current node within the set of its siblings.
The function works only within the context of a recurring node and
has no parameters.
Read Date String function
The Read Date String function converts a string
(that contains a date and time) to the XML Schema data type: xs:dateTime.
Replace function
The Replace function replaces individual characters
with other individual characters.
Round function
The Round function rounds a number to the closest
integer.
Starts With function
The Starts With function determines whether or not
the first parameter begins with the characters in the second parameter.
String function
The String function changes the datatype of the
parameter to string.
Substring function
The Substring function extracts a portion of the
parameter based on the specified character placement.
Substring After function
The Substring After function extracts all the characters
in a string starting after the first occurrence of a specified substring
(one or more characters) through the end of the string.
Substring Before function
The Substring Before function extracts all the characters
in a string starting at the beginning up to the first occurrence of
a specified substring (one or more characters).
Subtract function
The Subtract function returns the difference of
the first parameter less all subsequent parameters.
Sum function
The Sum function determines the sum of values in
the numeric node, sets of numeric nodes, or numbers in parameters.
Trim function
The Trim function trims all leading and trailing
spaces and replaces continuous sets of white space characters by a
single space.
Uppercase function
The Uppercase function converts all lowercase characters
to the corresponding uppercase character.