public interface FnExpr
Modifier and Type | Method and Description |
---|---|
ServerExpression |
abs(ServerExpression arg)
Returns the absolute value of arg.
|
ServerExpression |
adjustDateTimeToTimezone(ServerExpression arg)
Adjusts an xs:dateTime value to a specific
timezone, or to no timezone at all.
|
ServerExpression |
adjustDateTimeToTimezone(ServerExpression arg,
ServerExpression timezone)
Adjusts an xs:dateTime value to a specific
timezone, or to no timezone at all.
|
ServerExpression |
adjustDateTimeToTimezone(ServerExpression arg,
java.lang.String timezone)
Adjusts an xs:dateTime value to a specific
timezone, or to no timezone at all.
|
ServerExpression |
adjustDateToTimezone(ServerExpression arg)
Adjusts an xs:date value to a specific timezone,
or to no timezone at all.
|
ServerExpression |
adjustDateToTimezone(ServerExpression arg,
ServerExpression timezone)
Adjusts an xs:date value to a specific timezone,
or to no timezone at all.
|
ServerExpression |
adjustDateToTimezone(ServerExpression arg,
java.lang.String timezone)
Adjusts an xs:date value to a specific timezone,
or to no timezone at all.
|
ServerExpression |
adjustTimeToTimezone(ServerExpression arg)
Adjusts an xs:time value to a specific timezone,
or to no timezone at all.
|
ServerExpression |
adjustTimeToTimezone(ServerExpression arg,
ServerExpression timezone)
Adjusts an xs:time value to a specific timezone,
or to no timezone at all.
|
ServerExpression |
adjustTimeToTimezone(ServerExpression arg,
java.lang.String timezone)
Adjusts an xs:time value to a specific timezone,
or to no timezone at all.
|
ServerExpression |
analyzeString(ServerExpression in,
ServerExpression regex)
The result of the function is a new element node
whose string value is the original string, but which contains
markup to show which parts of the input match the regular
expression.
|
ServerExpression |
analyzeString(ServerExpression in,
ServerExpression regex,
ServerExpression flags)
The result of the function is a new element node
whose string value is the original string, but which contains
markup to show which parts of the input match the regular
expression.
|
ServerExpression |
analyzeString(java.lang.String in,
java.lang.String regex)
The result of the function is a new element node
whose string value is the original string, but which contains
markup to show which parts of the input match the regular
expression.
|
ServerExpression |
analyzeString(java.lang.String in,
java.lang.String regex, java.lang.String flags)
The result of the function is a new element node
whose string value is the original string, but which contains
markup to show which parts of the input match the regular
expression.
|
ServerExpression |
avg(ServerExpression arg)
Returns the average of the values in the input
sequence arg, that is, the sum of the values divided by the number
of values.
|
ServerExpression |
baseUri(ServerExpression arg)
Returns the value of the base-uri property for
the specified node.
|
ServerExpression |
booleanExpr(ServerExpression arg)
Computes the effective boolean value of the
sequence arg.
|
ServerExpression |
ceiling(ServerExpression arg)
Returns the smallest (closest to negative
infinity) number with no fractional part that is not less than the
value of arg.
|
ServerExpression |
codepointEqual(ServerExpression comparand1,
ServerExpression comparand2)
Returns true if the specified parameters are the
same Unicode code point, otherwise returns false.
|
ServerExpression |
codepointEqual(ServerExpression comparand1,
java.lang.String comparand2)
Returns true if the specified parameters are the
same Unicode code point, otherwise returns false.
|
ServerExpression |
codepointsToString(ServerExpression arg)
Creates an xs:string from a sequence of Unicode
code points.
|
ServerExpression |
compare(ServerExpression comparand1,
ServerExpression comparand2)
Returns -1, 0, or 1, depending on whether the
value of the comparand1 is respectively less than, equal to, or
greater than the value of comparand2, according to the rules of the
collation that is used.
|
ServerExpression |
compare(ServerExpression comparand1,
ServerExpression comparand2,
ServerExpression collation)
Returns -1, 0, or 1, depending on whether the
value of the comparand1 is respectively less than, equal to, or
greater than the value of comparand2, according to the rules of the
collation that is used.
|
ServerExpression |
compare(ServerExpression comparand1,
java.lang.String comparand2)
Returns -1, 0, or 1, depending on whether the
value of the comparand1 is respectively less than, equal to, or
greater than the value of comparand2, according to the rules of the
collation that is used.
|
ServerExpression |
compare(ServerExpression comparand1,
java.lang.String comparand2,
java.lang.String collation)
Returns -1, 0, or 1, depending on whether the
value of the comparand1 is respectively less than, equal to, or
greater than the value of comparand2, according to the rules of the
collation that is used.
|
ServerExpression |
concat(ServerExpression... parameter1)
Returns the xs:string that is the concatenation
of the values of the specified parameters.
|
ServerExpression |
contains(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter contains the
string from the second parameter, otherwise returns false.
|
ServerExpression |
contains(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter contains the
string from the second parameter, otherwise returns false.
|
ServerExpression |
contains(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter contains the
string from the second parameter, otherwise returns false.
|
ServerExpression |
contains(ServerExpression parameter1,
java.lang.String parameter2,
java.lang.String collation)
Returns true if the first parameter contains the
string from the second parameter, otherwise returns false.
|
ServerExpression |
count(ServerExpression arg)
Returns the number of items in the value of
arg.
|
ServerExpression |
count(ServerExpression arg,
double maximum)
Returns the number of items in the value of
arg.
|
ServerExpression |
count(ServerExpression arg,
ServerExpression maximum)
Returns the number of items in the value of
arg.
|
ServerExpression |
currentDate()
Returns xs:date(fn:current-dateTime()).
|
ServerExpression |
currentDateTime()
Returns the current dateTime value (with
timezone) from the dynamic context.
|
ServerExpression |
currentTime()
Returns xs:time(fn:current-dateTime()).
|
ServerExpression |
dateTime(ServerExpression arg1,
ServerExpression arg2)
Returns an xs:dateTime value created by
combining an xs:date and an xs:time.
|
ServerExpression |
dateTime(ServerExpression arg1,
java.lang.String arg2)
Returns an xs:dateTime value created by
combining an xs:date and an xs:time.
|
ServerExpression |
dayFromDate(ServerExpression arg)
Returns an xs:integer between 1 and 31, both
inclusive, representing the day component in the localized value of
arg.
|
ServerExpression |
dayFromDateTime(ServerExpression arg)
Returns an xs:integer between 1 and 31, both
inclusive, representing the day component in the localized value of
arg.
|
ServerExpression |
daysFromDuration(ServerExpression arg)
Returns an xs:integer representing the days
component in the canonical lexical representation of the value of
arg.
|
ServerExpression |
deepEqual(ServerExpression parameter1,
ServerExpression parameter2)
This function assesses whether two sequences are
deep-equal to each other.
|
ServerExpression |
deepEqual(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
This function assesses whether two sequences are
deep-equal to each other.
|
ServerExpression |
deepEqual(ServerExpression parameter1,
ServerExpression parameter2,
java.lang.String collation)
This function assesses whether two sequences are
deep-equal to each other.
|
ServerExpression |
defaultCollation()
Returns the value of the default collation
property from the static context.
|
ServerExpression |
distinctValues(ServerExpression arg)
Returns the sequence that results from removing
from arg all but one of a set of values that are eq to one
other.
|
ServerExpression |
distinctValues(ServerExpression arg,
ServerExpression collation)
Returns the sequence that results from removing
from arg all but one of a set of values that are eq to one
other.
|
ServerExpression |
distinctValues(ServerExpression arg,
java.lang.String collation)
Returns the sequence that results from removing
from arg all but one of a set of values that are eq to one
other.
|
ServerExpression |
documentUri(ServerExpression arg)
Returns the value of the document-uri property
for the specified node.
|
ServerExpression |
empty(ServerExpression arg)
If the value of arg is the empty sequence, the
function returns true; otherwise, the function returns false.
|
ServerExpression |
encodeForUri(ServerExpression uriPart)
Invertible function that escapes characters
required to be escaped inside path segments of URIs.
|
ServerExpression |
endsWith(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter ends with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
endsWith(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter ends with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
endsWith(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter ends with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
endsWith(ServerExpression parameter1,
java.lang.String parameter2,
java.lang.String collation)
Returns true if the first parameter ends with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
escapeHtmlUri(ServerExpression uriPart)
%-escapes everything except printable ASCII
characters.
|
ServerExpression |
exists(ServerExpression arg)
If the value of arg is not the empty sequence,
the function returns true; otherwise, the function returns
false.
|
ServerExpression |
falseExpr()
Returns the xs:boolean value false.
|
ServerExpression |
floor(ServerExpression arg)
Returns the largest (closest to positive
infinity) number with no fractional part that is not greater than
the value of arg.
|
ServerExpression |
formatDate(ServerExpression value,
ServerExpression picture)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDate(ServerExpression value,
ServerExpression picture,
ServerExpression language)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDate(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDate(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar,
ServerExpression country)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDate(ServerExpression value,
java.lang.String picture)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDate(ServerExpression value,
java.lang.String picture,
java.lang.String language)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDate(ServerExpression value,
java.lang.String picture, java.lang.String language,
java.lang.String calendar)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDate(ServerExpression value,
java.lang.String picture, java.lang.String language,
java.lang.String calendar,
java.lang.String country)
Returns a formatted date value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
ServerExpression picture)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
ServerExpression picture,
ServerExpression language)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar,
ServerExpression country)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
java.lang.String picture)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
java.lang.String picture,
java.lang.String language)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
java.lang.String picture, java.lang.String language,
java.lang.String calendar)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatDateTime(ServerExpression value,
java.lang.String picture, java.lang.String language,
java.lang.String calendar,
java.lang.String country)
Returns a formatted dateTime value based on the
picture argument.
|
ServerExpression |
formatNumber(ServerExpression value,
ServerExpression picture)
Returns a formatted string representation of
value argument based on the supplied picture.
|
ServerExpression |
formatNumber(ServerExpression value,
ServerExpression picture,
ServerExpression decimalFormatName)
Returns a formatted string representation of
value argument based on the supplied picture.
|
ServerExpression |
formatNumber(ServerExpression value,
java.lang.String picture)
Returns a formatted string representation of
value argument based on the supplied picture.
|
ServerExpression |
formatNumber(ServerExpression value,
java.lang.String picture,
java.lang.String decimalFormatName)
Returns a formatted string representation of
value argument based on the supplied picture.
|
ServerExpression |
formatTime(ServerExpression value,
ServerExpression picture)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
formatTime(ServerExpression value,
ServerExpression picture,
ServerExpression language)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
formatTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
formatTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar,
ServerExpression country)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
formatTime(ServerExpression value,
java.lang.String picture)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
formatTime(ServerExpression value,
java.lang.String picture,
java.lang.String language)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
formatTime(ServerExpression value,
java.lang.String picture, java.lang.String language,
java.lang.String calendar)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
formatTime(ServerExpression value,
java.lang.String picture, java.lang.String language,
java.lang.String calendar,
java.lang.String country)
Returns a formatted time value based on the
picture argument.
|
ServerExpression |
generateId(ServerExpression node)
Returns a string that uniquely identifies a
given node.
|
ServerExpression |
head(ServerExpression seq)
Returns the first item in a sequence.
|
ServerExpression |
hoursFromDateTime(ServerExpression arg)
Returns an xs:integer between 0 and 23, both
inclusive, representing the hours component in the localized value
of arg.
|
ServerExpression |
hoursFromDuration(ServerExpression arg)
Returns an xs:integer representing the hours
component in the canonical lexical representation of the value of
arg.
|
ServerExpression |
hoursFromTime(ServerExpression arg)
Returns an xs:integer between 0 and 23, both
inclusive, representing the value of the hours component in the
localized value of arg.
|
ServerExpression |
implicitTimezone()
Returns the value of the implicit timezone
property from the dynamic context.
|
ServerExpression |
indexOf(ServerExpression seqParam,
ServerExpression srchParam)
Returns a sequence of positive integers giving
the positions within the sequence seqParam of items that are equal
to srchParam.
|
ServerExpression |
indexOf(ServerExpression seqParam,
ServerExpression srchParam,
ServerExpression collationLiteral)
Returns a sequence of positive integers giving
the positions within the sequence seqParam of items that are equal
to srchParam.
|
ServerExpression |
indexOf(ServerExpression seqParam,
java.lang.String srchParam)
Returns a sequence of positive integers giving
the positions within the sequence seqParam of items that are equal
to srchParam.
|
ServerExpression |
indexOf(ServerExpression seqParam,
java.lang.String srchParam,
java.lang.String collationLiteral)
Returns a sequence of positive integers giving
the positions within the sequence seqParam of items that are equal
to srchParam.
|
ServerExpression |
inScopePrefixes(ServerExpression element)
Returns the prefixes of the in-scope namespaces
for element.
|
ServerExpression |
insertBefore(ServerExpression target,
long position, ServerExpression inserts)
Returns a new sequence constructed from the
value of target with the value of inserts inserted at the position
specified by the value of position.
|
ServerExpression |
insertBefore(ServerExpression target,
ServerExpression position,
ServerExpression inserts)
Returns a new sequence constructed from the
value of target with the value of inserts inserted at the position
specified by the value of position.
|
ServerExpression |
iriToUri(ServerExpression uriPart)
Idempotent function that escapes non-URI
characters.
|
ServerExpression |
lang(ServerExpression testlang,
ServerExpression node)
This function tests whether the language of
node, or the context node if the second argument is omitted, as
specified by xml:lang attributes is the same as, or is a
sublanguage of, the language specified by testlang.
|
ServerExpression |
localName(ServerExpression arg)
Returns the local part of the name of arg as an
xs:string that will either be the zero-length string or will have
the lexical form of an xs:NCName.
|
ServerExpression |
localNameFromQName(ServerExpression arg)
Returns an xs:NCName representing the local part
of arg.
|
ServerExpression |
lowerCase(ServerExpression string)
Returns the specified string converting all of
the characters to lower-case characters.
|
ServerExpression |
matches(ServerExpression input,
ServerExpression pattern)
Returns true if the specified input matches the
specified pattern, otherwise returns false.
|
ServerExpression |
matches(ServerExpression input,
ServerExpression pattern,
ServerExpression flags)
Returns true if the specified input matches the
specified pattern, otherwise returns false.
|
ServerExpression |
matches(ServerExpression input,
java.lang.String pattern)
Returns true if the specified input matches the
specified pattern, otherwise returns false.
|
ServerExpression |
matches(ServerExpression input,
java.lang.String pattern, java.lang.String flags)
Returns true if the specified input matches the
specified pattern, otherwise returns false.
|
ServerExpression |
max(ServerExpression arg)
Selects an item from the input sequence arg
whose value is greater than or equal to the value of every other
item in the input sequence.
|
ServerExpression |
max(ServerExpression arg,
ServerExpression collation)
Selects an item from the input sequence arg
whose value is greater than or equal to the value of every other
item in the input sequence.
|
ServerExpression |
max(ServerExpression arg,
java.lang.String collation)
Selects an item from the input sequence arg
whose value is greater than or equal to the value of every other
item in the input sequence.
|
ServerExpression |
min(ServerExpression arg)
Selects an item from the input sequence arg
whose value is less than or equal to the value of every other item
in the input sequence.
|
ServerExpression |
min(ServerExpression arg,
ServerExpression collation)
Selects an item from the input sequence arg
whose value is less than or equal to the value of every other item
in the input sequence.
|
ServerExpression |
min(ServerExpression arg,
java.lang.String collation)
Selects an item from the input sequence arg
whose value is less than or equal to the value of every other item
in the input sequence.
|
ServerExpression |
minutesFromDateTime(ServerExpression arg)
Returns an xs:integer value between 0 and 59,
both inclusive, representing the minute component in the localized
value of arg.
|
ServerExpression |
minutesFromDuration(ServerExpression arg)
Returns an xs:integer representing the minutes
component in the canonical lexical representation of the value of
arg.
|
ServerExpression |
minutesFromTime(ServerExpression arg)
Returns an xs:integer value between 0 to 59,
both inclusive, representing the value of the minutes component in
the localized value of arg.
|
ServerExpression |
monthFromDate(ServerExpression arg)
Returns an xs:integer between 1 and 12, both
inclusive, representing the month component in the localized value
of arg.
|
ServerExpression |
monthFromDateTime(ServerExpression arg)
Returns an xs:integer between 1 and 12, both
inclusive, representing the month component in the localized value
of arg.
|
ServerExpression |
monthsFromDuration(ServerExpression arg)
Returns an xs:integer representing the months
component in the canonical lexical representation of the value of
arg.
|
ServerExpression |
name(ServerExpression arg)
Returns the name of a node, as an xs:string that
is either the zero-length string, or has the lexical form of an
xs:QName.
|
ServerExpression |
namespaceUri(ServerExpression arg)
Returns the namespace URI of the xs:QName of the
node specified by arg.
|
ServerExpression |
namespaceUriForPrefix(ServerExpression prefix,
ServerExpression element)
Returns the namespace URI of one of the in-scope
namespaces for element, identified by its namespace prefix.
|
ServerExpression |
namespaceUriFromQName(ServerExpression arg)
Returns the namespace URI for arg as an
xs:string.
|
ServerExpression |
nilled(ServerExpression arg)
Summary: Returns an xs:boolean indicating
whether the argument node is "nilled".
|
ServerExpression |
nodeName(ServerExpression arg)
Returns an expanded-QName for node kinds that
can have names.
|
ServerExpression |
normalizeSpace(ServerExpression input)
Returns the specified string with normalized
whitespace, which strips off any leading or trailing whitespace and
replaces any other sequences of more than one whitespace characters
with a single space character (#x20).
|
ServerExpression |
normalizeUnicode(ServerExpression arg)
Return the argument normalized according to the
normalization criteria for a normalization form identified by the
value of normalizationForm.
|
ServerExpression |
normalizeUnicode(ServerExpression arg,
ServerExpression normalizationForm)
Return the argument normalized according to the
normalization criteria for a normalization form identified by the
value of normalizationForm.
|
ServerExpression |
normalizeUnicode(ServerExpression arg,
java.lang.String normalizationForm)
Return the argument normalized according to the
normalization criteria for a normalization form identified by the
value of normalizationForm.
|
ServerExpression |
not(ServerExpression arg)
Returns true if the effective boolean value is
false, and false if the effective boolean value is true.
|
ServerExpression |
number(ServerExpression arg)
Returns the value indicated by arg or, if arg is
not specified, the context item after atomization, converted to an
xs:double.
|
ServerExpression |
prefixFromQName(ServerExpression arg)
Returns an xs:NCName representing the prefix of
arg.
|
ServerExpression |
QName(ServerExpression paramURI,
ServerExpression paramQName)
Returns an xs:QName with the namespace URI given
in paramURI.
|
ServerExpression |
QName(ServerExpression paramURI,
java.lang.String paramQName)
Returns an xs:QName with the namespace URI given
in paramURI.
|
ServerExpression |
remove(ServerExpression target,
long position)
Returns a new sequence constructed from the
value of target with the item at the position specified by the
value of position removed.
|
ServerExpression |
remove(ServerExpression target,
ServerExpression position)
Returns a new sequence constructed from the
value of target with the item at the position specified by the
value of position removed.
|
ServerExpression |
replace(ServerExpression input,
ServerExpression pattern,
ServerExpression replacement)
Returns a string constructed by replacing the
specified pattern on the input string with the specified
replacement string.
|
ServerExpression |
replace(ServerExpression input,
ServerExpression pattern,
ServerExpression replacement,
ServerExpression flags)
Returns a string constructed by replacing the
specified pattern on the input string with the specified
replacement string.
|
ServerExpression |
replace(ServerExpression input,
java.lang.String pattern,
java.lang.String replacement)
Returns a string constructed by replacing the
specified pattern on the input string with the specified
replacement string.
|
ServerExpression |
replace(ServerExpression input,
java.lang.String pattern, java.lang.String replacement,
java.lang.String flags)
Returns a string constructed by replacing the
specified pattern on the input string with the specified
replacement string.
|
ServerExpression |
resolveQName(ServerExpression qname,
ServerExpression element)
Returns an xs:QName value (that is, an expanded
QName) by taking an xs:string that has the lexical form of an
xs:QName (a string in the form "prefix:local-name" or "local-name")
and resolving it using the in-scope namespaces for a given
element.
|
ServerExpression |
resolveUri(ServerExpression relative,
ServerExpression base)
Resolves a relative URI against an absolute
URI.
|
ServerExpression |
resolveUri(ServerExpression relative,
java.lang.String base)
Resolves a relative URI against an absolute
URI.
|
ServerExpression |
reverse(ServerExpression target)
Reverses the order of items in a sequence.
|
ServerExpression |
root(ServerExpression arg)
Returns the root of the tree to which arg
belongs.
|
ServerExpression |
round(ServerExpression arg)
Returns the number with no fractional part that
is closest to the argument.
|
ServerExpression |
roundHalfToEven(ServerExpression arg)
The value returned is the nearest (that is,
numerically closest) numeric to arg that is a multiple of ten to
the power of minus precision.
|
ServerExpression |
roundHalfToEven(ServerExpression arg,
long precision)
The value returned is the nearest (that is,
numerically closest) numeric to arg that is a multiple of ten to
the power of minus precision.
|
ServerExpression |
roundHalfToEven(ServerExpression arg,
ServerExpression precision)
The value returned is the nearest (that is,
numerically closest) numeric to arg that is a multiple of ten to
the power of minus precision.
|
ServerExpression |
secondsFromDateTime(ServerExpression arg)
Returns an xs:decimal value between 0 and
60.999..., both inclusive representing the seconds and fractional
seconds in the localized value of arg.
|
ServerExpression |
secondsFromDuration(ServerExpression arg)
Returns an xs:decimal representing the seconds
component in the canonical lexical representation of the value of
arg.
|
ServerExpression |
secondsFromTime(ServerExpression arg)
Returns an xs:decimal value between 0 and
60.999..., both inclusive, representing the seconds and fractional
seconds in the localized value of arg.
|
ServerExpression |
startsWith(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter starts with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
startsWith(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter starts with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
startsWith(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter starts with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
startsWith(ServerExpression parameter1,
java.lang.String parameter2,
java.lang.String collation)
Returns true if the first parameter starts with
the string from the second parameter, otherwise returns
false.
|
ServerExpression |
string(ServerExpression arg)
Returns the value of arg represented as an
xs:string.
|
ServerExpression |
stringJoin(ServerExpression parameter1,
ServerExpression parameter2)
Returns an xs:string created by concatenating
the members of the parameter1 sequence using parameter2 as a
separator.
|
ServerExpression |
stringJoin(ServerExpression parameter1,
java.lang.String parameter2)
Returns an xs:string created by concatenating
the members of the parameter1 sequence using parameter2 as a
separator.
|
ServerExpression |
stringLength(ServerExpression sourceString)
Returns an integer representing the length of
the specified string.
|
ServerExpression |
stringToCodepoints(ServerExpression arg)
Returns the sequence of Unicode code points that
constitute an xs:string.
|
ServerExpression |
subsequence(ServerExpression sourceSeq,
double startingLoc)
Returns the contiguous sequence of items in the
value of sourceSeq beginning at the position indicated by the value
of startingLoc and continuing for the number of items indicated by
the value of length.
|
ServerExpression |
subsequence(ServerExpression sourceSeq,
double startingLoc, double length)
Returns the contiguous sequence of items in the
value of sourceSeq beginning at the position indicated by the value
of startingLoc and continuing for the number of items indicated by
the value of length.
|
ServerExpression |
subsequence(ServerExpression sourceSeq,
ServerExpression startingLoc)
Returns the contiguous sequence of items in the
value of sourceSeq beginning at the position indicated by the value
of startingLoc and continuing for the number of items indicated by
the value of length.
|
ServerExpression |
subsequence(ServerExpression sourceSeq,
ServerExpression startingLoc,
ServerExpression length)
Returns the contiguous sequence of items in the
value of sourceSeq beginning at the position indicated by the value
of startingLoc and continuing for the number of items indicated by
the value of length.
|
ServerExpression |
substring(ServerExpression sourceString,
double startingLoc)
Returns a substring starting from the
startingLoc and continuing for length characters.
|
ServerExpression |
substring(ServerExpression sourceString,
double startingLoc, double length)
Returns a substring starting from the
startingLoc and continuing for length characters.
|
ServerExpression |
substring(ServerExpression sourceString,
ServerExpression startingLoc)
Returns a substring starting from the
startingLoc and continuing for length characters.
|
ServerExpression |
substring(ServerExpression sourceString,
ServerExpression startingLoc,
ServerExpression length)
Returns a substring starting from the
startingLoc and continuing for length characters.
|
ServerExpression |
substringAfter(ServerExpression input,
ServerExpression after)
Returns the substring created by taking all of
the input characters that occur after the specified after
characters.
|
ServerExpression |
substringAfter(ServerExpression input,
ServerExpression after,
ServerExpression collation)
Returns the substring created by taking all of
the input characters that occur after the specified after
characters.
|
ServerExpression |
substringAfter(ServerExpression input,
java.lang.String after)
Returns the substring created by taking all of
the input characters that occur after the specified after
characters.
|
ServerExpression |
substringAfter(ServerExpression input,
java.lang.String after,
java.lang.String collation)
Returns the substring created by taking all of
the input characters that occur after the specified after
characters.
|
ServerExpression |
substringBefore(ServerExpression input,
ServerExpression before)
Returns the substring created by taking all of
the input characters that occur before the specified before
characters.
|
ServerExpression |
substringBefore(ServerExpression input,
ServerExpression before,
ServerExpression collation)
Returns the substring created by taking all of
the input characters that occur before the specified before
characters.
|
ServerExpression |
substringBefore(ServerExpression input,
java.lang.String before)
Returns the substring created by taking all of
the input characters that occur before the specified before
characters.
|
ServerExpression |
substringBefore(ServerExpression input,
java.lang.String before,
java.lang.String collation)
Returns the substring created by taking all of
the input characters that occur before the specified before
characters.
|
ServerExpression |
sum(ServerExpression arg)
Returns a value obtained by adding together the
values in arg.
|
ServerExpression |
sum(ServerExpression arg,
ServerExpression zero)
Returns a value obtained by adding together the
values in arg.
|
ServerExpression |
sum(ServerExpression arg,
java.lang.String zero)
Returns a value obtained by adding together the
values in arg.
|
ServerExpression |
tail(ServerExpression seq)
Returns all but the first item in a
sequence.
|
ServerExpression |
timezoneFromDate(ServerExpression arg)
Returns the timezone component of arg if
any.
|
ServerExpression |
timezoneFromDateTime(ServerExpression arg)
Returns the timezone component of arg if
any.
|
ServerExpression |
timezoneFromTime(ServerExpression arg)
Returns the timezone component of arg if
any.
|
ServerExpression |
tokenize(ServerExpression input,
ServerExpression pattern)
Returns a sequence of strings constructed by
breaking the specified input into substrings separated by the
specified pattern.
|
ServerExpression |
tokenize(ServerExpression input,
ServerExpression pattern,
ServerExpression flags)
Returns a sequence of strings constructed by
breaking the specified input into substrings separated by the
specified pattern.
|
ServerExpression |
tokenize(ServerExpression input,
java.lang.String pattern)
Returns a sequence of strings constructed by
breaking the specified input into substrings separated by the
specified pattern.
|
ServerExpression |
tokenize(ServerExpression input,
java.lang.String pattern, java.lang.String flags)
Returns a sequence of strings constructed by
breaking the specified input into substrings separated by the
specified pattern.
|
ServerExpression |
translate(ServerExpression src,
ServerExpression mapString,
ServerExpression transString)
Returns a string where every character in src
that occurs in some position in the mapString is translated into
the transString character in the corresponding location of the
mapString character.
|
ServerExpression |
translate(ServerExpression src,
java.lang.String mapString,
java.lang.String transString)
Returns a string where every character in src
that occurs in some position in the mapString is translated into
the transString character in the corresponding location of the
mapString character.
|
ServerExpression |
trueExpr()
Returns the xs:boolean value true.
|
ServerExpression |
unordered(ServerExpression sourceSeq)
Returns the items of sourceSeq in an
implementation dependent order.
|
ServerExpression |
upperCase(ServerExpression string)
Returns the specified string converting all of
the characters to upper-case characters.
|
ServerExpression |
yearFromDate(ServerExpression arg)
Returns an xs:integer representing the year
component in the localized value of arg.
|
ServerExpression |
yearFromDateTime(ServerExpression arg)
Returns an xs:integer representing the year
component in the localized value of arg.
|
ServerExpression |
yearsFromDuration(ServerExpression arg)
Returns an xs:integer representing the years
component in the canonical lexical representation of the value of
arg.
|
ServerExpression abs(ServerExpression arg)
Provides a client interface to the fn:abs server function.
arg
- A numeric value. (of xs:numeric)ServerExpression adjustDateToTimezone(ServerExpression arg)
Provides a client interface to the fn:adjust-date-to-timezone server function.
ServerExpression adjustDateToTimezone(ServerExpression arg, java.lang.String timezone)
Provides a client interface to the fn:adjust-date-to-timezone server function.
arg
- The date to adjust to the new timezone. (of
xs:date)timezone
- The new timezone for the date. (of
xs:dayTimeDuration)ServerExpression adjustDateToTimezone(ServerExpression arg, ServerExpression timezone)
Provides a client interface to the fn:adjust-date-to-timezone server function.
arg
- The date to adjust to the new timezone. (of
xs:date)timezone
- The new timezone for the date. (of
xs:dayTimeDuration)ServerExpression adjustDateTimeToTimezone(ServerExpression arg)
Provides a client interface to the fn:adjust-dateTime-to-timezone server function.
arg
- The dateTime to adjust to the new timezone.
(of xs:dateTime)ServerExpression adjustDateTimeToTimezone(ServerExpression arg, java.lang.String timezone)
Provides a client interface to the fn:adjust-dateTime-to-timezone server function.
arg
- The dateTime to adjust to the new timezone.
(of xs:dateTime)timezone
- The new timezone for the dateTime. (of
xs:dayTimeDuration)ServerExpression adjustDateTimeToTimezone(ServerExpression arg, ServerExpression timezone)
Provides a client interface to the fn:adjust-dateTime-to-timezone server function.
arg
- The dateTime to adjust to the new timezone.
(of xs:dateTime)timezone
- The new timezone for the dateTime. (of
xs:dayTimeDuration)ServerExpression adjustTimeToTimezone(ServerExpression arg)
Provides a client interface to the fn:adjust-time-to-timezone server function.
ServerExpression adjustTimeToTimezone(ServerExpression arg, java.lang.String timezone)
Provides a client interface to the fn:adjust-time-to-timezone server function.
arg
- The time to adjust to the new timezone. (of
xs:time)timezone
- The new timezone for the date. (of
xs:dayTimeDuration)ServerExpression adjustTimeToTimezone(ServerExpression arg, ServerExpression timezone)
Provides a client interface to the fn:adjust-time-to-timezone server function.
arg
- The time to adjust to the new timezone. (of
xs:time)timezone
- The new timezone for the date. (of
xs:dayTimeDuration)ServerExpression analyzeString(java.lang.String in, java.lang.String regex)
Provides a client interface to the fn:analyze-string server function.
in
- The string to start with. (of xs:string)regex
- The regular expression pattern to match.
(of xs:string)ServerExpression analyzeString(ServerExpression in, ServerExpression regex)
Provides a client interface to the fn:analyze-string server function.
in
- The string to start with. (of xs:string)regex
- The regular expression pattern to match.
(of xs:string)ServerExpression analyzeString(java.lang.String in, java.lang.String regex, java.lang.String flags)
Provides a client interface to the fn:analyze-string server function.
in
- The string to start with. (of xs:string)regex
- The regular expression pattern to match.
(of xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression analyzeString(ServerExpression in, ServerExpression regex, ServerExpression flags)
Provides a client interface to the fn:analyze-string server function.
in
- The string to start with. (of xs:string)regex
- The regular expression pattern to match.
(of xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression avg(ServerExpression arg)
Provides a client interface to the fn:avg server function.
arg
- The sequence of values to average. (of
xs:anyAtomicType)ServerExpression baseUri(ServerExpression arg)
Provides a client interface to the fn:base-uri server function.
ServerExpression booleanExpr(ServerExpression arg)
Provides a client interface to the fn:boolean server function.
arg
- A sequence of items. (of item)ServerExpression ceiling(ServerExpression arg)
Provides a client interface to the fn:ceiling server function.
arg
- A numeric value. (of xs:numeric)ServerExpression codepointEqual(ServerExpression comparand1, java.lang.String comparand2)
Provides a client interface to the fn:codepoint-equal server function.
comparand1
- A string to be compared. (of xs:string)comparand2
- A string to be compared. (of xs:string)ServerExpression codepointEqual(ServerExpression comparand1, ServerExpression comparand2)
Provides a client interface to the fn:codepoint-equal server function.
comparand1
- A string to be compared. (of xs:string)comparand2
- A string to be compared. (of xs:string)ServerExpression codepointsToString(ServerExpression arg)
Provides a client interface to the fn:codepoints-to-string server function.
arg
- A sequence of Unicode code points. (of
xs:integer)ServerExpression compare(ServerExpression comparand1, java.lang.String comparand2)
Provides a client interface to the fn:compare server function.
comparand1
- A string to be compared. (of xs:string)comparand2
- A string to be compared. (of xs:string)ServerExpression compare(ServerExpression comparand1, ServerExpression comparand2)
Provides a client interface to the fn:compare server function.
comparand1
- A string to be compared. (of xs:string)comparand2
- A string to be compared. (of xs:string)ServerExpression compare(ServerExpression comparand1, java.lang.String comparand2, java.lang.String collation)
Provides a client interface to the fn:compare server function.
comparand1
- A string to be compared. (of xs:string)comparand2
- A string to be compared. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression compare(ServerExpression comparand1, ServerExpression comparand2, ServerExpression collation)
Provides a client interface to the fn:compare server function.
comparand1
- A string to be compared. (of xs:string)comparand2
- A string to be compared. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression concat(ServerExpression... parameter1)
Provides a client interface to the fn:concat server function.
parameter1
- A value. (of xs:anyAtomicType)ServerExpression contains(ServerExpression parameter1, java.lang.String parameter2)
Provides a client interface to the fn:contains server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test for existence in
the first parameter. (of xs:string)ServerExpression contains(ServerExpression parameter1, ServerExpression parameter2)
Provides a client interface to the fn:contains server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test for existence in
the first parameter. (of xs:string)ServerExpression contains(ServerExpression parameter1, java.lang.String parameter2, java.lang.String collation)
Provides a client interface to the fn:contains server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test for existence in
the first parameter. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression contains(ServerExpression parameter1, ServerExpression parameter2, ServerExpression collation)
Provides a client interface to the fn:contains server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test for existence in
the first parameter. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression count(ServerExpression arg)
Provides a client interface to the fn:count server function.
arg
- The sequence of items to count. (of item)ServerExpression count(ServerExpression arg, double maximum)
Provides a client interface to the fn:count server function.
arg
- The sequence of items to count. (of item)maximum
- The maximum value of the count to
return. MarkLogic Server will stop count when the $maximum value is
reached and return the $maximum value. This is an extension to the
W3C standard fn:count function. (of xs:double)ServerExpression count(ServerExpression arg, ServerExpression maximum)
Provides a client interface to the fn:count server function.
arg
- The sequence of items to count. (of item)maximum
- The maximum value of the count to
return. MarkLogic Server will stop count when the $maximum value is
reached and return the $maximum value. This is an extension to the
W3C standard fn:count function. (of xs:double)ServerExpression currentDate()
Provides a client interface to the fn:current-date server function.
ServerExpression currentDateTime()
Provides a client interface to the fn:current-dateTime server function.
ServerExpression currentTime()
Provides a client interface to the fn:current-time server function.
ServerExpression dateTime(ServerExpression arg1, java.lang.String arg2)
Provides a client interface to the fn:dateTime server function.
arg1
- The date to be combined with the time
argument. (of xs:date)arg2
- The time to be combined with the date
argument. (of xs:time)ServerExpression dateTime(ServerExpression arg1, ServerExpression arg2)
Provides a client interface to the fn:dateTime server function.
arg1
- The date to be combined with the time
argument. (of xs:date)arg2
- The time to be combined with the date
argument. (of xs:time)ServerExpression dayFromDate(ServerExpression arg)
Provides a client interface to the fn:day-from-date server function.
arg
- The date whose day component will be
returned. (of xs:date)ServerExpression dayFromDateTime(ServerExpression arg)
Provides a client interface to the fn:day-from-dateTime server function.
arg
- The dateTime whose day component will be
returned. (of xs:dateTime)ServerExpression daysFromDuration(ServerExpression arg)
Provides a client interface to the fn:days-from-duration server function.
arg
- The duration whose day component will be
returned. (of xs:duration)ServerExpression deepEqual(ServerExpression parameter1, ServerExpression parameter2)
Provides a client interface to the fn:deep-equal server function.
parameter1
- The first sequence of items, each
item should be an atomic value or node. (of item)parameter2
- The sequence of items to compare to
the first sequence of items, again each item should be an atomic
value or node. (of item)ServerExpression deepEqual(ServerExpression parameter1, ServerExpression parameter2, java.lang.String collation)
Provides a client interface to the fn:deep-equal server function.
parameter1
- The first sequence of items, each
item should be an atomic value or node. (of item)parameter2
- The sequence of items to compare to
the first sequence of items, again each item should be an atomic
value or node. (of item)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression deepEqual(ServerExpression parameter1, ServerExpression parameter2, ServerExpression collation)
Provides a client interface to the fn:deep-equal server function.
parameter1
- The first sequence of items, each
item should be an atomic value or node. (of item)parameter2
- The sequence of items to compare to
the first sequence of items, again each item should be an atomic
value or node. (of item)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression defaultCollation()
Provides a client interface to the fn:default-collation server function.
ServerExpression distinctValues(ServerExpression arg)
Provides a client interface to the fn:distinct-values server function.
arg
- A sequence of items. (of xs:anyAtomicType)ServerExpression distinctValues(ServerExpression arg, java.lang.String collation)
Provides a client interface to the fn:distinct-values server function.
arg
- A sequence of items. (of xs:anyAtomicType)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression distinctValues(ServerExpression arg, ServerExpression collation)
Provides a client interface to the fn:distinct-values server function.
arg
- A sequence of items. (of xs:anyAtomicType)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression documentUri(ServerExpression arg)
Provides a client interface to the fn:document-uri server function.
ServerExpression empty(ServerExpression arg)
Provides a client interface to the fn:empty server function.
arg
- A sequence to test. (of item)ServerExpression encodeForUri(ServerExpression uriPart)
Provides a client interface to the fn:encode-for-uri server function.
ServerExpression endsWith(ServerExpression parameter1, java.lang.String parameter2)
Provides a client interface to the fn:ends-with server function.
parameter1
- The parameter from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the end of the first parameter. (of xs:string)ServerExpression endsWith(ServerExpression parameter1, ServerExpression parameter2)
Provides a client interface to the fn:ends-with server function.
parameter1
- The parameter from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the end of the first parameter. (of xs:string)ServerExpression endsWith(ServerExpression parameter1, java.lang.String parameter2, java.lang.String collation)
Provides a client interface to the fn:ends-with server function.
parameter1
- The parameter from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the end of the first parameter. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression endsWith(ServerExpression parameter1, ServerExpression parameter2, ServerExpression collation)
Provides a client interface to the fn:ends-with server function.
parameter1
- The parameter from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the end of the first parameter. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression escapeHtmlUri(ServerExpression uriPart)
Provides a client interface to the fn:escape-html-uri server function.
ServerExpression exists(ServerExpression arg)
Provides a client interface to the fn:exists server function.
arg
- A sequence to test. (of item)ServerExpression falseExpr()
Provides a client interface to the fn:false server function.
ServerExpression floor(ServerExpression arg)
Provides a client interface to the fn:floor server function.
arg
- A numeric value. (of xs:numeric)ServerExpression formatDate(ServerExpression value, java.lang.String picture)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)ServerExpression formatDate(ServerExpression value, ServerExpression picture)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)ServerExpression formatDate(ServerExpression value, java.lang.String picture, java.lang.String language)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the date $value. (of xs:string)ServerExpression formatDate(ServerExpression value, ServerExpression picture, ServerExpression language)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the date $value. (of xs:string)ServerExpression formatDate(ServerExpression value, java.lang.String picture, java.lang.String language, java.lang.String calendar)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the date $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)ServerExpression formatDate(ServerExpression value, ServerExpression picture, ServerExpression language, ServerExpression calendar)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the date $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)ServerExpression formatDate(ServerExpression value, java.lang.String picture, java.lang.String language, java.lang.String calendar, java.lang.String country)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the date $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)country
- $country is used the specification to
take into account country specific string representation. (of
xs:string)ServerExpression formatDate(ServerExpression value, ServerExpression picture, ServerExpression language, ServerExpression calendar, ServerExpression country)
Provides a client interface to the fn:format-date server function.
value
- The given date $value that needs to be
formatted. (of xs:date)picture
- The desired string representation of the
given date $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the date $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)country
- $country is used the specification to
take into account country specific string representation. (of
xs:string)ServerExpression formatDateTime(ServerExpression value, java.lang.String picture)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)ServerExpression formatDateTime(ServerExpression value, ServerExpression picture)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)ServerExpression formatDateTime(ServerExpression value, java.lang.String picture, java.lang.String language)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the dateTime $value. (of xs:string)ServerExpression formatDateTime(ServerExpression value, ServerExpression picture, ServerExpression language)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the dateTime $value. (of xs:string)ServerExpression formatDateTime(ServerExpression value, java.lang.String picture, java.lang.String language, java.lang.String calendar)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the dateTime $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)ServerExpression formatDateTime(ServerExpression value, ServerExpression picture, ServerExpression language, ServerExpression calendar)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the dateTime $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)ServerExpression formatDateTime(ServerExpression value, java.lang.String picture, java.lang.String language, java.lang.String calendar, java.lang.String country)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the dateTime $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)country
- $country is used the specification to
take into account country specific string representation. (of
xs:string)ServerExpression formatDateTime(ServerExpression value, ServerExpression picture, ServerExpression language, ServerExpression calendar, ServerExpression country)
Provides a client interface to the fn:format-dateTime server function.
value
- The given dateTime $value that needs to be
formatted. (of xs:dateTime)picture
- The desired string representation of the
given dateTime $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the dateTime $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)country
- $country is used the specification to
take into account country specific string representation. (of
xs:string)ServerExpression formatNumber(ServerExpression value, java.lang.String picture)
Provides a client interface to the fn:format-number server function.
value
- The given numeric $value that needs to be
formatted. (of xs:numeric)picture
- The desired string representation of the
given number $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the format-number picture string, see
http://www.w3.org/TR/xslt20/#function-format-number. (of xs:string)ServerExpression formatNumber(ServerExpression value, ServerExpression picture)
Provides a client interface to the fn:format-number server function.
value
- The given numeric $value that needs to be
formatted. (of xs:numeric)picture
- The desired string representation of the
given number $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the format-number picture string, see
http://www.w3.org/TR/xslt20/#function-format-number. (of xs:string)ServerExpression formatNumber(ServerExpression value, java.lang.String picture, java.lang.String decimalFormatName)
Provides a client interface to the fn:format-number server function.
value
- The given numeric $value that needs to be
formatted. (of xs:numeric)picture
- The desired string representation of the
given number $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the format-number picture string, see
http://www.w3.org/TR/xslt20/#function-format-number. (of xs:string)decimalFormatName
- Represents a named
instruction. It is used to assign values to the variables mentioned
above based on the picture string. (of xs:string)ServerExpression formatNumber(ServerExpression value, ServerExpression picture, ServerExpression decimalFormatName)
Provides a client interface to the fn:format-number server function.
value
- The given numeric $value that needs to be
formatted. (of xs:numeric)picture
- The desired string representation of the
given number $value. The picture string is a sequence of
characters, in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the format-number picture string, see
http://www.w3.org/TR/xslt20/#function-format-number. (of xs:string)decimalFormatName
- Represents a named
instruction. It is used to assign values to the variables mentioned
above based on the picture string. (of xs:string)ServerExpression formatTime(ServerExpression value, java.lang.String picture)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)ServerExpression formatTime(ServerExpression value, ServerExpression picture)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)ServerExpression formatTime(ServerExpression value, java.lang.String picture, java.lang.String language)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the time $value. (of xs:string)ServerExpression formatTime(ServerExpression value, ServerExpression picture, ServerExpression language)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the time $value. (of xs:string)ServerExpression formatTime(ServerExpression value, java.lang.String picture, java.lang.String language, java.lang.String calendar)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the time $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)ServerExpression formatTime(ServerExpression value, ServerExpression picture, ServerExpression language, ServerExpression calendar)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the time $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)ServerExpression formatTime(ServerExpression value, java.lang.String picture, java.lang.String language, java.lang.String calendar, java.lang.String country)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the time $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)country
- $country is used the specification to
take into account country specific string representation. (of
xs:string)ServerExpression formatTime(ServerExpression value, ServerExpression picture, ServerExpression language, ServerExpression calendar, ServerExpression country)
Provides a client interface to the fn:format-time server function.
value
- The given time $value that needs to be
formatted. (of xs:time)picture
- The desired string representation of the
given time $value. The picture string is a sequence of characters,
in which the characters represent variables such as,
decimal-separator-sign, grouping-sign, zero-digit-sign, digit-sign,
pattern-separator, percent sign and per-mille-sign. For details on
the picture string, see
http://www.w3.org/TR/xslt20/#date-picture-string. (of xs:string)language
- The desired language for string
representation of the time $value. (of xs:string)calendar
- The only calendar supported at this
point is "Gregorian" or "AD". (of xs:string)country
- $country is used the specification to
take into account country specific string representation. (of
xs:string)ServerExpression generateId(ServerExpression node)
Provides a client interface to the fn:generate-id server function.
ServerExpression head(ServerExpression seq)
Provides a client interface to the fn:head server function.
ServerExpression hoursFromDateTime(ServerExpression arg)
Provides a client interface to the fn:hours-from-dateTime server function.
arg
- The dateTime whose hours component will be
returned. (of xs:dateTime)ServerExpression hoursFromDuration(ServerExpression arg)
Provides a client interface to the fn:hours-from-duration server function.
arg
- The duration whose hour component will be
returned. (of xs:duration)ServerExpression hoursFromTime(ServerExpression arg)
Provides a client interface to the fn:hours-from-time server function.
arg
- The time whose hours component will be
returned. (of xs:time)ServerExpression implicitTimezone()
Provides a client interface to the fn:implicit-timezone server function.
ServerExpression inScopePrefixes(ServerExpression element)
Provides a client interface to the fn:in-scope-prefixes server function.
element
- The element whose in-scope prefixes will
be returned. (of element-node)ServerExpression indexOf(ServerExpression seqParam, java.lang.String srchParam)
Provides a client interface to the fn:index-of server function.
seqParam
- A sequence of values. (of xs:anyAtomicType)srchParam
- A value to find on the list. (of
xs:anyAtomicType)ServerExpression indexOf(ServerExpression seqParam, ServerExpression srchParam)
Provides a client interface to the fn:index-of server function.
seqParam
- A sequence of values. (of xs:anyAtomicType)srchParam
- A value to find on the list. (of
xs:anyAtomicType)ServerExpression indexOf(ServerExpression seqParam, java.lang.String srchParam, java.lang.String collationLiteral)
Provides a client interface to the fn:index-of server function.
seqParam
- A sequence of values. (of xs:anyAtomicType)srchParam
- A value to find on the list. (of
xs:anyAtomicType)collationLiteral
- A collation identifier. (of
xs:string)ServerExpression indexOf(ServerExpression seqParam, ServerExpression srchParam, ServerExpression collationLiteral)
Provides a client interface to the fn:index-of server function.
seqParam
- A sequence of values. (of xs:anyAtomicType)srchParam
- A value to find on the list. (of
xs:anyAtomicType)collationLiteral
- A collation identifier. (of
xs:string)ServerExpression insertBefore(ServerExpression target, long position, ServerExpression inserts)
Provides a client interface to the fn:insert-before server function.
target
- The sequence of items into which new
items will be inserted. (of item)position
- The position in the target sequence at
which the new items will be added. (of xs:integer)inserts
- The items to insert into the target
sequence. (of item)ServerExpression insertBefore(ServerExpression target, ServerExpression position, ServerExpression inserts)
Provides a client interface to the fn:insert-before server function.
target
- The sequence of items into which new
items will be inserted. (of item)position
- The position in the target sequence at
which the new items will be added. (of xs:integer)inserts
- The items to insert into the target
sequence. (of item)ServerExpression iriToUri(ServerExpression uriPart)
Provides a client interface to the fn:iri-to-uri server function.
ServerExpression lang(ServerExpression testlang, ServerExpression node)
Provides a client interface to the fn:lang server function.
testlang
- The language against which to test the
node. (of xs:string)node
- The node to test. (of node)ServerExpression localName(ServerExpression arg)
Provides a client interface to the fn:local-name server function.
ServerExpression localNameFromQName(ServerExpression arg)
Provides a client interface to the fn:local-name-from-QName server function.
ServerExpression lowerCase(ServerExpression string)
Provides a client interface to the fn:lower-case server function.
ServerExpression matches(ServerExpression input, java.lang.String pattern)
Provides a client interface to the fn:matches server function.
input
- The input from which to match. (of
xs:string)pattern
- The regular expression to match. (of
xs:string)ServerExpression matches(ServerExpression input, ServerExpression pattern)
Provides a client interface to the fn:matches server function.
input
- The input from which to match. (of
xs:string)pattern
- The regular expression to match. (of
xs:string)ServerExpression matches(ServerExpression input, java.lang.String pattern, java.lang.String flags)
Provides a client interface to the fn:matches server function.
input
- The input from which to match. (of
xs:string)pattern
- The regular expression to match. (of
xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression matches(ServerExpression input, ServerExpression pattern, ServerExpression flags)
Provides a client interface to the fn:matches server function.
input
- The input from which to match. (of
xs:string)pattern
- The regular expression to match. (of
xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression max(ServerExpression arg)
Provides a client interface to the fn:max server function.
arg
- The sequence of values whose maximum will be
returned. (of xs:anyAtomicType)ServerExpression max(ServerExpression arg, java.lang.String collation)
Provides a client interface to the fn:max server function.
arg
- The sequence of values whose maximum will be
returned. (of xs:anyAtomicType)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression max(ServerExpression arg, ServerExpression collation)
Provides a client interface to the fn:max server function.
arg
- The sequence of values whose maximum will be
returned. (of xs:anyAtomicType)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression min(ServerExpression arg)
Provides a client interface to the fn:min server function.
arg
- The sequence of values whose minimum will be
returned. (of xs:anyAtomicType)ServerExpression min(ServerExpression arg, java.lang.String collation)
Provides a client interface to the fn:min server function.
arg
- The sequence of values whose minimum will be
returned. (of xs:anyAtomicType)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression min(ServerExpression arg, ServerExpression collation)
Provides a client interface to the fn:min server function.
arg
- The sequence of values whose minimum will be
returned. (of xs:anyAtomicType)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression minutesFromDateTime(ServerExpression arg)
Provides a client interface to the fn:minutes-from-dateTime server function.
arg
- The dateTime whose minutes component will be
returned. (of xs:dateTime)ServerExpression minutesFromDuration(ServerExpression arg)
Provides a client interface to the fn:minutes-from-duration server function.
arg
- The duration whose minute component will be
returned. (of xs:duration)ServerExpression minutesFromTime(ServerExpression arg)
Provides a client interface to the fn:minutes-from-time server function.
arg
- The time whose minutes component will be
returned. (of xs:time)ServerExpression monthFromDate(ServerExpression arg)
Provides a client interface to the fn:month-from-date server function.
arg
- The date whose month component will be
returned. (of xs:date)ServerExpression monthFromDateTime(ServerExpression arg)
Provides a client interface to the fn:month-from-dateTime server function.
arg
- The dateTime whose month component will be
returned. (of xs:dateTime)ServerExpression monthsFromDuration(ServerExpression arg)
Provides a client interface to the fn:months-from-duration server function.
arg
- The duration whose month component will be
returned. (of xs:duration)ServerExpression name(ServerExpression arg)
Provides a client interface to the fn:name server function.
ServerExpression namespaceUri(ServerExpression arg)
Provides a client interface to the fn:namespace-uri server function.
ServerExpression namespaceUriForPrefix(ServerExpression prefix, ServerExpression element)
Provides a client interface to the fn:namespace-uri-for-prefix server function.
prefix
- A namespace prefix to look up. (of
xs:string)element
- An element node providing namespace
context. (of element-node)ServerExpression namespaceUriFromQName(ServerExpression arg)
Provides a client interface to the fn:namespace-uri-from-QName server function.
ServerExpression nilled(ServerExpression arg)
Provides a client interface to the fn:nilled server function.
arg
- The node to test for nilled status. (of
node)ServerExpression nodeName(ServerExpression arg)
Provides a client interface to the fn:node-name server function.
ServerExpression normalizeSpace(ServerExpression input)
Provides a client interface to the fn:normalize-space server function.
ServerExpression normalizeUnicode(ServerExpression arg)
Provides a client interface to the fn:normalize-unicode server function.
ServerExpression normalizeUnicode(ServerExpression arg, java.lang.String normalizationForm)
Provides a client interface to the fn:normalize-unicode server function.
ServerExpression normalizeUnicode(ServerExpression arg, ServerExpression normalizationForm)
Provides a client interface to the fn:normalize-unicode server function.
ServerExpression not(ServerExpression arg)
Provides a client interface to the fn:not server function.
arg
- The expression to negate. (of item)ServerExpression number(ServerExpression arg)
Provides a client interface to the fn:number server function.
ServerExpression prefixFromQName(ServerExpression arg)
Provides a client interface to the fn:prefix-from-QName server function.
ServerExpression QName(ServerExpression paramURI, java.lang.String paramQName)
Provides a client interface to the fn:QName server function.
ServerExpression QName(ServerExpression paramURI, ServerExpression paramQName)
Provides a client interface to the fn:QName server function.
ServerExpression remove(ServerExpression target, long position)
Provides a client interface to the fn:remove server function.
target
- The sequence of items from which items
will be removed. (of item)position
- The position in the target sequence
from which the items will be removed. (of xs:integer)ServerExpression remove(ServerExpression target, ServerExpression position)
Provides a client interface to the fn:remove server function.
target
- The sequence of items from which items
will be removed. (of item)position
- The position in the target sequence
from which the items will be removed. (of xs:integer)ServerExpression replace(ServerExpression input, java.lang.String pattern, java.lang.String replacement)
Provides a client interface to the fn:replace server function.
input
- The string to start with. (of xs:string)pattern
- The regular expression pattern to match.
If the pattern does not match the $input string, the function will
return the $input string unchanged. (of xs:string)replacement
- The regular expression pattern to
replace the $pattern with. It can also be a capture expression (for
more details, see
http://www.w3.org/TR/xpath-functions/#func-replace). (of xs:string)ServerExpression replace(ServerExpression input, ServerExpression pattern, ServerExpression replacement)
Provides a client interface to the fn:replace server function.
input
- The string to start with. (of xs:string)pattern
- The regular expression pattern to match.
If the pattern does not match the $input string, the function will
return the $input string unchanged. (of xs:string)replacement
- The regular expression pattern to
replace the $pattern with. It can also be a capture expression (for
more details, see
http://www.w3.org/TR/xpath-functions/#func-replace). (of xs:string)ServerExpression replace(ServerExpression input, java.lang.String pattern, java.lang.String replacement, java.lang.String flags)
Provides a client interface to the fn:replace server function.
input
- The string to start with. (of xs:string)pattern
- The regular expression pattern to match.
If the pattern does not match the $input string, the function will
return the $input string unchanged. (of xs:string)replacement
- The regular expression pattern to
replace the $pattern with. It can also be a capture expression (for
more details, see
http://www.w3.org/TR/xpath-functions/#func-replace). (of xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression replace(ServerExpression input, ServerExpression pattern, ServerExpression replacement, ServerExpression flags)
Provides a client interface to the fn:replace server function.
input
- The string to start with. (of xs:string)pattern
- The regular expression pattern to match.
If the pattern does not match the $input string, the function will
return the $input string unchanged. (of xs:string)replacement
- The regular expression pattern to
replace the $pattern with. It can also be a capture expression (for
more details, see
http://www.w3.org/TR/xpath-functions/#func-replace). (of xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression resolveQName(ServerExpression qname, ServerExpression element)
Provides a client interface to the fn:resolve-QName server function.
qname
- A string of the form "prefix:local-name".
(of xs:string)element
- An element providing the in-scope
namespaces to use to resolve the qualified name. (of element-node)ServerExpression resolveUri(ServerExpression relative, java.lang.String base)
Provides a client interface to the fn:resolve-uri server function.
ServerExpression resolveUri(ServerExpression relative, ServerExpression base)
Provides a client interface to the fn:resolve-uri server function.
ServerExpression reverse(ServerExpression target)
Provides a client interface to the fn:reverse server function.
ServerExpression root(ServerExpression arg)
Provides a client interface to the fn:root server function.
ServerExpression round(ServerExpression arg)
Provides a client interface to the fn:round server function.
arg
- A numeric value to round. (of xs:numeric)ServerExpression roundHalfToEven(ServerExpression arg)
Provides a client interface to the fn:round-half-to-even server function.
arg
- A numeric value to round. (of xs:numeric)ServerExpression roundHalfToEven(ServerExpression arg, long precision)
Provides a client interface to the fn:round-half-to-even server function.
arg
- A numeric value to round. (of xs:numeric)precision
- The precision to which to round the
value. (of xs:integer)ServerExpression roundHalfToEven(ServerExpression arg, ServerExpression precision)
Provides a client interface to the fn:round-half-to-even server function.
arg
- A numeric value to round. (of xs:numeric)precision
- The precision to which to round the
value. (of xs:integer)ServerExpression secondsFromDateTime(ServerExpression arg)
Provides a client interface to the fn:seconds-from-dateTime server function.
arg
- The dateTime whose seconds component will be
returned. (of xs:dateTime)ServerExpression secondsFromDuration(ServerExpression arg)
Provides a client interface to the fn:seconds-from-duration server function.
arg
- The duration whose minute component will be
returned. (of xs:duration)ServerExpression secondsFromTime(ServerExpression arg)
Provides a client interface to the fn:seconds-from-time server function.
arg
- The time whose seconds component will be
returned. (of xs:time)ServerExpression startsWith(ServerExpression parameter1, java.lang.String parameter2)
Provides a client interface to the fn:starts-with server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the beginning of the first parameter. (of xs:string)ServerExpression startsWith(ServerExpression parameter1, ServerExpression parameter2)
Provides a client interface to the fn:starts-with server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the beginning of the first parameter. (of xs:string)ServerExpression startsWith(ServerExpression parameter1, java.lang.String parameter2, java.lang.String collation)
Provides a client interface to the fn:starts-with server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the beginning of the first parameter. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression startsWith(ServerExpression parameter1, ServerExpression parameter2, ServerExpression collation)
Provides a client interface to the fn:starts-with server function.
parameter1
- The string from which to test. (of
xs:string)parameter2
- The string to test whether it is at
the beginning of the first parameter. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression string(ServerExpression arg)
Provides a client interface to the fn:string server function.
ServerExpression stringJoin(ServerExpression parameter1, java.lang.String parameter2)
Provides a client interface to the fn:string-join server function.
ServerExpression stringJoin(ServerExpression parameter1, ServerExpression parameter2)
Provides a client interface to the fn:string-join server function.
ServerExpression stringLength(ServerExpression sourceString)
Provides a client interface to the fn:string-length server function.
sourceString
- The string to calculate the length.
(of xs:string)ServerExpression stringToCodepoints(ServerExpression arg)
Provides a client interface to the fn:string-to-codepoints server function.
arg
- A string. (of xs:string)ServerExpression subsequence(ServerExpression sourceSeq, double startingLoc)
Provides a client interface to the fn:subsequence server function.
sourceSeq
- The sequence of items from which a
subsequence will be selected. (of item)startingLoc
- The starting position of the start
of the subsequence. (of xs:numeric)ServerExpression subsequence(ServerExpression sourceSeq, ServerExpression startingLoc)
Provides a client interface to the fn:subsequence server function.
sourceSeq
- The sequence of items from which a
subsequence will be selected. (of item)startingLoc
- The starting position of the start
of the subsequence. (of xs:numeric)ServerExpression subsequence(ServerExpression sourceSeq, double startingLoc, double length)
Provides a client interface to the fn:subsequence server function.
sourceSeq
- The sequence of items from which a
subsequence will be selected. (of item)startingLoc
- The starting position of the start
of the subsequence. (of xs:numeric)length
- The length of the subsequence. (of
xs:numeric)ServerExpression subsequence(ServerExpression sourceSeq, ServerExpression startingLoc, ServerExpression length)
Provides a client interface to the fn:subsequence server function.
sourceSeq
- The sequence of items from which a
subsequence will be selected. (of item)startingLoc
- The starting position of the start
of the subsequence. (of xs:numeric)length
- The length of the subsequence. (of
xs:numeric)ServerExpression substring(ServerExpression sourceString, double startingLoc)
Provides a client interface to the fn:substring server function.
sourceString
- The string from which to create a
substring. (of xs:string)startingLoc
- The number of characters from the
start of the $sourceString. (of xs:numeric)ServerExpression substring(ServerExpression sourceString, ServerExpression startingLoc)
Provides a client interface to the fn:substring server function.
sourceString
- The string from which to create a
substring. (of xs:string)startingLoc
- The number of characters from the
start of the $sourceString. (of xs:numeric)ServerExpression substring(ServerExpression sourceString, double startingLoc, double length)
Provides a client interface to the fn:substring server function.
sourceString
- The string from which to create a
substring. (of xs:string)startingLoc
- The number of characters from the
start of the $sourceString. (of xs:numeric)length
- The number of characters beyond the
$startingLoc. (of xs:numeric)ServerExpression substring(ServerExpression sourceString, ServerExpression startingLoc, ServerExpression length)
Provides a client interface to the fn:substring server function.
sourceString
- The string from which to create a
substring. (of xs:string)startingLoc
- The number of characters from the
start of the $sourceString. (of xs:numeric)length
- The number of characters beyond the
$startingLoc. (of xs:numeric)ServerExpression substringAfter(ServerExpression input, java.lang.String after)
Provides a client interface to the fn:substring-after server function.
ServerExpression substringAfter(ServerExpression input, ServerExpression after)
Provides a client interface to the fn:substring-after server function.
ServerExpression substringAfter(ServerExpression input, java.lang.String after, java.lang.String collation)
Provides a client interface to the fn:substring-after server function.
input
- The string from which to create the
substring. (of xs:string)after
- The string after which the substring is
created. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression substringAfter(ServerExpression input, ServerExpression after, ServerExpression collation)
Provides a client interface to the fn:substring-after server function.
input
- The string from which to create the
substring. (of xs:string)after
- The string after which the substring is
created. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression substringBefore(ServerExpression input, java.lang.String before)
Provides a client interface to the fn:substring-before server function.
ServerExpression substringBefore(ServerExpression input, ServerExpression before)
Provides a client interface to the fn:substring-before server function.
ServerExpression substringBefore(ServerExpression input, java.lang.String before, java.lang.String collation)
Provides a client interface to the fn:substring-before server function.
input
- The string from which to create the
substring. (of xs:string)before
- The string before which the substring is
created. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression substringBefore(ServerExpression input, ServerExpression before, ServerExpression collation)
Provides a client interface to the fn:substring-before server function.
input
- The string from which to create the
substring. (of xs:string)before
- The string before which the substring is
created. (of xs:string)collation
- The optional name of a valid collation
URI. For information on the collation URI syntax, see the Search
Developer's Guide. (of xs:string)ServerExpression sum(ServerExpression arg)
Provides a client interface to the fn:sum server function.
arg
- The sequence of values to be summed. (of
xs:anyAtomicType)ServerExpression sum(ServerExpression arg, java.lang.String zero)
Provides a client interface to the fn:sum server function.
arg
- The sequence of values to be summed. (of
xs:anyAtomicType)zero
- The value to return as zero if the input
sequence is the empty sequence. This parameter is not available in
the 0.9-ml XQuery dialect. (of xs:anyAtomicType)ServerExpression sum(ServerExpression arg, ServerExpression zero)
Provides a client interface to the fn:sum server function.
arg
- The sequence of values to be summed. (of
xs:anyAtomicType)zero
- The value to return as zero if the input
sequence is the empty sequence. This parameter is not available in
the 0.9-ml XQuery dialect. (of xs:anyAtomicType)ServerExpression tail(ServerExpression seq)
Provides a client interface to the fn:tail server function.
ServerExpression timezoneFromDate(ServerExpression arg)
Provides a client interface to the fn:timezone-from-date server function.
arg
- The date whose timezone component will be
returned. (of xs:date)ServerExpression timezoneFromDateTime(ServerExpression arg)
Provides a client interface to the fn:timezone-from-dateTime server function.
arg
- The dateTime whose timezone component will
be returned. (of xs:dateTime)ServerExpression timezoneFromTime(ServerExpression arg)
Provides a client interface to the fn:timezone-from-time server function.
arg
- The time whose timezone component will be
returned. (of xs:time)ServerExpression tokenize(ServerExpression input, java.lang.String pattern)
Provides a client interface to the fn:tokenize server function.
ServerExpression tokenize(ServerExpression input, ServerExpression pattern)
Provides a client interface to the fn:tokenize server function.
ServerExpression tokenize(ServerExpression input, java.lang.String pattern, java.lang.String flags)
Provides a client interface to the fn:tokenize server function.
input
- The string to tokenize. (of xs:string)pattern
- The regular expression pattern from
which to separate the tokens. (of xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression tokenize(ServerExpression input, ServerExpression pattern, ServerExpression flags)
Provides a client interface to the fn:tokenize server function.
input
- The string to tokenize. (of xs:string)pattern
- The regular expression pattern from
which to separate the tokens. (of xs:string)flags
- The flag representing how to interpret the
regular expression. One of "s", "m", "i", or "x", as defined in
http://www.w3.org/TR/xpath-functions/#flags. (of xs:string)ServerExpression translate(ServerExpression src, java.lang.String mapString, java.lang.String transString)
Provides a client interface to the fn:translate server function.
src
- The string to translate characters. (of
xs:string)mapString
- The string representing characters to
be translated. (of xs:string)transString
- The string representing the
characters to which the $mapString characters are translated. (of
xs:string)ServerExpression translate(ServerExpression src, ServerExpression mapString, ServerExpression transString)
Provides a client interface to the fn:translate server function.
src
- The string to translate characters. (of
xs:string)mapString
- The string representing characters to
be translated. (of xs:string)transString
- The string representing the
characters to which the $mapString characters are translated. (of
xs:string)ServerExpression trueExpr()
Provides a client interface to the fn:true server function.
ServerExpression unordered(ServerExpression sourceSeq)
Provides a client interface to the fn:unordered server function.
ServerExpression upperCase(ServerExpression string)
Provides a client interface to the fn:upper-case server function.
ServerExpression yearFromDate(ServerExpression arg)
Provides a client interface to the fn:year-from-date server function.
arg
- The date whose year component will be
returned. (of xs:date)ServerExpression yearFromDateTime(ServerExpression arg)
Provides a client interface to the fn:year-from-dateTime server function.
arg
- The dateTime whose year component will be
returned. (of xs:dateTime)ServerExpression yearsFromDuration(ServerExpression arg)
Provides a client interface to the fn:years-from-duration server function.
arg
- The duration whose year component will be
returned. (of xs:duration)Copyright © 2024 MarkLogic Corporation. All Rights Reserved.