public interface FnExpr
Modifier and Type | Method and Description |
---|---|
XsNumericExpr |
abs(ServerExpression arg)
Returns the absolute value of arg.
|
XsDateTimeExpr |
adjustDateTimeToTimezone(ServerExpression arg)
Adjusts an xs:dateTime value to a specific timezone, or to no timezone at all.
|
XsDateTimeExpr |
adjustDateTimeToTimezone(ServerExpression arg,
ServerExpression timezone)
Adjusts an xs:dateTime value to a specific timezone, or to no timezone at all.
|
XsDateTimeExpr |
adjustDateTimeToTimezone(ServerExpression arg,
java.lang.String timezone)
Adjusts an xs:dateTime value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
adjustDateToTimezone(ServerExpression arg)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
adjustDateToTimezone(ServerExpression arg,
ServerExpression timezone)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsDateExpr |
adjustDateToTimezone(ServerExpression arg,
java.lang.String timezone)
Adjusts an xs:date value to a specific timezone, or to no timezone at all.
|
XsTimeExpr |
adjustTimeToTimezone(ServerExpression arg)
Adjusts an xs:time value to a specific timezone, or to no timezone at all.
|
XsTimeExpr |
adjustTimeToTimezone(ServerExpression arg,
ServerExpression timezone)
Adjusts an xs:time value to a specific timezone, or to no timezone at all.
|
XsTimeExpr |
adjustTimeToTimezone(ServerExpression arg,
java.lang.String timezone)
Adjusts an xs:time value to a specific timezone, or to no timezone at all.
|
ElementNodeExpr |
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.
|
ElementNodeExpr |
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.
|
ElementNodeExpr |
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.
|
ElementNodeExpr |
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.
|
XsAnyAtomicTypeExpr |
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.
|
XsAnyURIExpr |
baseUri(ServerExpression arg)
Returns the value of the base-uri property for the specified node.
|
XsBooleanExpr |
booleanExpr(ServerExpression arg)
Computes the effective boolean value of the sequence arg.
|
XsNumericExpr |
ceiling(ServerExpression arg)
Returns the smallest (closest to negative infinity) number with no fractional part that is not less than the value of arg.
|
XsBooleanExpr |
codepointEqual(ServerExpression comparand1,
ServerExpression comparand2)
Returns true if the specified parameters are the same Unicode code point, otherwise returns false.
|
XsBooleanExpr |
codepointEqual(ServerExpression comparand1,
java.lang.String comparand2)
Returns true if the specified parameters are the same Unicode code point, otherwise returns false.
|
XsStringExpr |
codepointsToString(ServerExpression arg)
Creates an xs:string from a sequence of Unicode code points.
|
XsIntegerExpr |
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.
|
XsIntegerExpr |
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.
|
XsIntegerExpr |
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.
|
XsIntegerExpr |
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.
|
XsStringExpr |
concat(ServerExpression... parameter1)
Returns the xs:string that is the concatenation of the values of the specified parameters.
|
XsBooleanExpr |
contains(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter contains the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
contains(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter contains the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
contains(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter contains the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
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.
|
XsIntegerExpr |
count(ServerExpression arg)
Returns the number of items in the value of arg.
|
XsIntegerExpr |
count(ServerExpression arg,
double maximum)
Returns the number of items in the value of arg.
|
XsIntegerExpr |
count(ServerExpression arg,
ServerExpression maximum)
Returns the number of items in the value of arg.
|
XsDateExpr |
currentDate()
Returns xs:date(fn:current-dateTime()).
|
XsDateTimeExpr |
currentDateTime()
Returns the current dateTime value (with timezone) from the dynamic context.
|
XsTimeExpr |
currentTime()
Returns xs:time(fn:current-dateTime()).
|
XsIntegerExpr |
dayFromDate(ServerExpression arg)
Returns an xs:integer between 1 and 31, both inclusive, representing the day component in the localized value of arg.
|
XsIntegerExpr |
dayFromDateTime(ServerExpression arg)
Returns an xs:integer between 1 and 31, both inclusive, representing the day component in the localized value of arg.
|
XsIntegerExpr |
daysFromDuration(ServerExpression arg)
Returns an xs:integer representing the days component in the canonical lexical representation of the value of arg.
|
XsBooleanExpr |
deepEqual(ServerExpression parameter1,
ServerExpression parameter2)
This function assesses whether two sequences are deep-equal to each other.
|
XsBooleanExpr |
deepEqual(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
This function assesses whether two sequences are deep-equal to each other.
|
XsBooleanExpr |
deepEqual(ServerExpression parameter1,
ServerExpression parameter2,
java.lang.String collation)
This function assesses whether two sequences are deep-equal to each other.
|
XsStringExpr |
defaultCollation()
Returns the value of the default collation property from the static context.
|
XsAnyAtomicTypeSeqExpr |
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.
|
XsAnyAtomicTypeSeqExpr |
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.
|
XsAnyAtomicTypeSeqExpr |
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.
|
XsAnyURIExpr |
documentUri(ServerExpression arg)
Returns the value of the document-uri property for the specified node.
|
XsBooleanExpr |
empty(ServerExpression arg)
If the value of arg is the empty sequence, the function returns true; otherwise, the function returns false.
|
XsStringExpr |
encodeForUri(ServerExpression uriPart)
Invertible function that escapes characters required to be escaped inside path segments of URIs.
|
XsBooleanExpr |
endsWith(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter ends with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
endsWith(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter ends with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
endsWith(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter ends with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
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.
|
XsStringExpr |
escapeHtmlUri(ServerExpression uriPart)
%-escapes everything except printable ASCII characters.
|
XsBooleanExpr |
exists(ServerExpression arg)
If the value of arg is not the empty sequence, the function returns true; otherwise, the function returns false.
|
XsBooleanExpr |
falseExpr()
Returns the xs:boolean value false.
|
XsNumericExpr |
floor(ServerExpression arg)
Returns the largest (closest to positive infinity) number with no fractional part that is not greater than the value of arg.
|
XsStringExpr |
formatDate(ServerExpression value,
ServerExpression picture)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
formatDate(ServerExpression value,
ServerExpression picture,
ServerExpression language)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
formatDate(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
formatDate(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar,
ServerExpression country)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
formatDate(ServerExpression value,
java.lang.String picture)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
formatDate(ServerExpression value,
java.lang.String picture,
java.lang.String language)
Returns a formatted date value based on the picture argument.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
formatDateTime(ServerExpression value,
ServerExpression picture)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
formatDateTime(ServerExpression value,
ServerExpression picture,
ServerExpression language)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
formatDateTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
formatDateTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar,
ServerExpression country)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
formatDateTime(ServerExpression value,
java.lang.String picture)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
formatDateTime(ServerExpression value,
java.lang.String picture,
java.lang.String language)
Returns a formatted dateTime value based on the picture argument.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
formatNumber(ServerExpression value,
ServerExpression picture)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
formatNumber(ServerExpression value,
ServerExpression picture,
ServerExpression decimalFormatName)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
formatNumber(ServerExpression value,
java.lang.String picture)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
formatNumber(ServerExpression value,
java.lang.String picture,
java.lang.String decimalFormatName)
Returns a formatted string representation of value argument based on the supplied picture.
|
XsStringExpr |
formatTime(ServerExpression value,
ServerExpression picture)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
formatTime(ServerExpression value,
ServerExpression picture,
ServerExpression language)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
formatTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
formatTime(ServerExpression value,
ServerExpression picture,
ServerExpression language,
ServerExpression calendar,
ServerExpression country)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
formatTime(ServerExpression value,
java.lang.String picture)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
formatTime(ServerExpression value,
java.lang.String picture,
java.lang.String language)
Returns a formatted time value based on the picture argument.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
generateId(ServerExpression node)
Returns a string that uniquely identifies a given node.
|
ItemExpr |
head(ServerExpression seq)
Returns the first item in a sequence.
|
XsIntegerExpr |
hoursFromDateTime(ServerExpression arg)
Returns an xs:integer between 0 and 23, both inclusive, representing the hours component in the localized value of arg.
|
XsIntegerExpr |
hoursFromDuration(ServerExpression arg)
Returns an xs:integer representing the hours component in the canonical lexical representation of the value of arg.
|
XsIntegerExpr |
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.
|
XsDayTimeDurationExpr |
implicitTimezone()
Returns the value of the implicit timezone property from the dynamic context.
|
XsIntegerSeqExpr |
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.
|
XsIntegerSeqExpr |
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.
|
XsIntegerSeqExpr |
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.
|
XsIntegerSeqExpr |
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.
|
XsStringSeqExpr |
inScopePrefixes(ServerExpression element)
Returns the prefixes of the in-scope namespaces for element.
|
ItemSeqExpr |
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.
|
ItemSeqExpr |
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.
|
XsStringExpr |
iriToUri(ServerExpression uriPart)
Idempotent function that escapes non-URI characters.
|
XsBooleanExpr |
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.
|
XsStringExpr |
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.
|
XsNCNameExpr |
localNameFromQName(ServerExpression arg)
Returns an xs:NCName representing the local part of arg.
|
XsStringExpr |
lowerCase(ServerExpression string)
Returns the specified string converting all of the characters to lower-case characters.
|
XsBooleanExpr |
matches(ServerExpression input,
ServerExpression pattern)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
XsBooleanExpr |
matches(ServerExpression input,
ServerExpression pattern,
ServerExpression flags)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
XsBooleanExpr |
matches(ServerExpression input,
java.lang.String pattern)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
XsBooleanExpr |
matches(ServerExpression input,
java.lang.String pattern,
java.lang.String flags)
Returns true if the specified input matches the specified pattern, otherwise returns false.
|
XsAnyAtomicTypeExpr |
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.
|
XsAnyAtomicTypeExpr |
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.
|
XsAnyAtomicTypeExpr |
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.
|
XsAnyAtomicTypeExpr |
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.
|
XsAnyAtomicTypeExpr |
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.
|
XsAnyAtomicTypeExpr |
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.
|
XsIntegerExpr |
minutesFromDateTime(ServerExpression arg)
Returns an xs:integer value between 0 and 59, both inclusive, representing the minute component in the localized value of arg.
|
XsIntegerExpr |
minutesFromDuration(ServerExpression arg)
Returns an xs:integer representing the minutes component in the canonical lexical representation of the value of arg.
|
XsIntegerExpr |
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.
|
XsIntegerExpr |
monthFromDate(ServerExpression arg)
Returns an xs:integer between 1 and 12, both inclusive, representing the month component in the localized value of arg.
|
XsIntegerExpr |
monthFromDateTime(ServerExpression arg)
Returns an xs:integer between 1 and 12, both inclusive, representing the month component in the localized value of arg.
|
XsIntegerExpr |
monthsFromDuration(ServerExpression arg)
Returns an xs:integer representing the months component in the canonical lexical representation of the value of arg.
|
XsStringExpr |
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.
|
XsAnyURIExpr |
namespaceUri(ServerExpression arg)
Returns the namespace URI of the xs:QName of the node specified by arg.
|
XsAnyURIExpr |
namespaceUriForPrefix(ServerExpression prefix,
ServerExpression element)
Returns the namespace URI of one of the in-scope namespaces for element, identified by its namespace prefix.
|
XsAnyURIExpr |
namespaceUriFromQName(ServerExpression arg)
Returns the namespace URI for arg as an xs:string.
|
XsBooleanExpr |
nilled(ServerExpression arg)
Summary: Returns an xs:boolean indicating whether the argument node is "nilled".
|
XsQNameExpr |
nodeName(ServerExpression arg)
Returns an expanded-QName for node kinds that can have names.
|
XsStringExpr |
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).
|
XsStringExpr |
normalizeUnicode(ServerExpression arg)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsStringExpr |
normalizeUnicode(ServerExpression arg,
ServerExpression normalizationForm)
Return the argument normalized according to the normalization criteria for a normalization form identified by the value of normalizationForm.
|
XsStringExpr |
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.
|
XsBooleanExpr |
not(ServerExpression arg)
Returns true if the effective boolean value is false, and false if the effective boolean value is true.
|
XsDoubleExpr |
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.
|
XsNCNameExpr |
prefixFromQName(ServerExpression arg)
Returns an xs:NCName representing the prefix of arg.
|
XsQNameExpr |
QName(ServerExpression paramURI,
ServerExpression paramQName)
Returns an xs:QName with the namespace URI given in paramURI.
|
XsQNameExpr |
QName(ServerExpression paramURI,
java.lang.String paramQName)
Returns an xs:QName with the namespace URI given in paramURI.
|
ItemSeqExpr |
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.
|
ItemSeqExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsQNameExpr |
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.
|
XsAnyURIExpr |
resolveUri(ServerExpression relative,
ServerExpression base)
Resolves a relative URI against an absolute URI.
|
XsAnyURIExpr |
resolveUri(ServerExpression relative,
java.lang.String base)
Resolves a relative URI against an absolute URI.
|
ItemSeqExpr |
reverse(ServerExpression target)
Reverses the order of items in a sequence.
|
NodeExpr |
root(ServerExpression arg)
Returns the root of the tree to which arg belongs.
|
XsNumericExpr |
round(ServerExpression arg)
Returns the number with no fractional part that is closest to the argument.
|
XsNumericExpr |
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.
|
XsNumericExpr |
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.
|
XsNumericExpr |
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.
|
XsDecimalExpr |
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.
|
XsDecimalExpr |
secondsFromDuration(ServerExpression arg)
Returns an xs:decimal representing the seconds component in the canonical lexical representation of the value of arg.
|
XsDecimalExpr |
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.
|
XsBooleanExpr |
startsWith(ServerExpression parameter1,
ServerExpression parameter2)
Returns true if the first parameter starts with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
startsWith(ServerExpression parameter1,
ServerExpression parameter2,
ServerExpression collation)
Returns true if the first parameter starts with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
startsWith(ServerExpression parameter1,
java.lang.String parameter2)
Returns true if the first parameter starts with the string from the second parameter, otherwise returns false.
|
XsBooleanExpr |
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.
|
XsStringExpr |
string(ServerExpression arg)
Returns the value of arg represented as an xs:string.
|
XsStringExpr |
stringJoin(ServerExpression parameter1,
ServerExpression parameter2)
Returns an xs:string created by concatenating the members of the parameter1 sequence using parameter2 as a separator.
|
XsStringExpr |
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.
|
XsIntegerExpr |
stringLength(ServerExpression sourceString)
Returns an integer representing the length of the specified string.
|
XsIntegerSeqExpr |
stringToCodepoints(ServerExpression arg)
Returns the sequence of Unicode code points that constitute an xs:string.
|
ItemSeqExpr |
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.
|
ItemSeqExpr |
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.
|
ItemSeqExpr |
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.
|
ItemSeqExpr |
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.
|
XsStringExpr |
substring(ServerExpression sourceString,
double startingLoc)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
substring(ServerExpression sourceString,
double startingLoc,
double length)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
substring(ServerExpression sourceString,
ServerExpression startingLoc)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
substring(ServerExpression sourceString,
ServerExpression startingLoc,
ServerExpression length)
Returns a substring starting from the startingLoc and continuing for length characters.
|
XsStringExpr |
substringAfter(ServerExpression input,
ServerExpression after)
Returns the substring created by taking all of the input characters that occur after the specified after characters.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
substringBefore(ServerExpression input,
ServerExpression before)
Returns the substring created by taking all of the input characters that occur before the specified before characters.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsAnyAtomicTypeExpr |
sum(ServerExpression arg)
Returns a value obtained by adding together the values in arg.
|
XsAnyAtomicTypeExpr |
sum(ServerExpression arg,
ServerExpression zero)
Returns a value obtained by adding together the values in arg.
|
XsAnyAtomicTypeExpr |
sum(ServerExpression arg,
java.lang.String zero)
Returns a value obtained by adding together the values in arg.
|
ItemSeqExpr |
tail(ServerExpression seq)
Returns all but the first item in a sequence.
|
XsDayTimeDurationExpr |
timezoneFromDate(ServerExpression arg)
Returns the timezone component of arg if any.
|
XsDayTimeDurationExpr |
timezoneFromDateTime(ServerExpression arg)
Returns the timezone component of arg if any.
|
XsDayTimeDurationExpr |
timezoneFromTime(ServerExpression arg)
Returns the timezone component of arg if any.
|
XsStringSeqExpr |
tokenize(ServerExpression input,
ServerExpression pattern)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringSeqExpr |
tokenize(ServerExpression input,
ServerExpression pattern,
ServerExpression flags)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringSeqExpr |
tokenize(ServerExpression input,
java.lang.String pattern)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringSeqExpr |
tokenize(ServerExpression input,
java.lang.String pattern,
java.lang.String flags)
Returns a sequence of strings contructed by breaking the specified input into substrings separated by the specified pattern.
|
XsStringExpr |
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.
|
XsStringExpr |
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.
|
XsBooleanExpr |
trueExpr()
Returns the xs:boolean value true.
|
ItemSeqExpr |
unordered(ServerExpression sourceSeq)
Returns the items of sourceSeq in an implementation dependent order.
|
XsStringExpr |
upperCase(ServerExpression string)
Returns the specified string converting all of the characters to upper-case characters.
|
XsIntegerExpr |
yearFromDate(ServerExpression arg)
Returns an xs:integer representing the year component in the localized value of arg.
|
XsIntegerExpr |
yearFromDateTime(ServerExpression arg)
Returns an xs:integer representing the year component in the localized value of arg.
|
XsIntegerExpr |
yearsFromDuration(ServerExpression arg)
Returns an xs:integer representing the years component in the canonical lexical representation of the value of arg.
|
XsNumericExpr abs(ServerExpression arg)
Provides a client interface to the fn:abs server function.
arg
- A numeric value. (of xs:numeric)XsDateExpr adjustDateToTimezone(ServerExpression arg)
Provides a client interface to the fn:adjust-date-to-timezone server function.
XsDateExpr 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)XsDateExpr 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)XsDateTimeExpr 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)XsDateTimeExpr 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)XsDateTimeExpr 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)XsTimeExpr adjustTimeToTimezone(ServerExpression arg)
Provides a client interface to the fn:adjust-time-to-timezone server function.
XsTimeExpr 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)XsTimeExpr 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)ElementNodeExpr 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)ElementNodeExpr 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)ElementNodeExpr 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)ElementNodeExpr 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)XsAnyAtomicTypeExpr avg(ServerExpression arg)
Provides a client interface to the fn:avg server function.
arg
- The sequence of values to average. (of xs:anyAtomicType)XsAnyURIExpr baseUri(ServerExpression arg)
Provides a client interface to the fn:base-uri server function.
XsBooleanExpr booleanExpr(ServerExpression arg)
Provides a client interface to the fn:boolean server function.
arg
- A sequence of items. (of item)XsNumericExpr ceiling(ServerExpression arg)
Provides a client interface to the fn:ceiling server function.
arg
- A numeric value. (of xs:numeric)XsBooleanExpr 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)XsBooleanExpr 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)XsStringExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsStringExpr concat(ServerExpression... parameter1)
Provides a client interface to the fn:concat server function.
parameter1
- A value. (of xs:anyAtomicType)XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsIntegerExpr count(ServerExpression arg)
Provides a client interface to the fn:count server function.
arg
- The sequence of items to count. (of item)XsIntegerExpr 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)XsIntegerExpr 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)XsDateExpr currentDate()
Provides a client interface to the fn:current-date server function.
XsDateTimeExpr currentDateTime()
Provides a client interface to the fn:current-dateTime server function.
XsTimeExpr currentTime()
Provides a client interface to the fn:current-time server function.
XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsStringExpr defaultCollation()
Provides a client interface to the fn:default-collation server function.
XsAnyAtomicTypeSeqExpr distinctValues(ServerExpression arg)
Provides a client interface to the fn:distinct-values server function.
arg
- A sequence of items. (of xs:anyAtomicType)XsAnyAtomicTypeSeqExpr 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)XsAnyAtomicTypeSeqExpr 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)XsAnyURIExpr documentUri(ServerExpression arg)
Provides a client interface to the fn:document-uri server function.
XsBooleanExpr empty(ServerExpression arg)
Provides a client interface to the fn:empty server function.
arg
- A sequence to test. (of item)XsStringExpr encodeForUri(ServerExpression uriPart)
Provides a client interface to the fn:encode-for-uri server function.
XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsStringExpr escapeHtmlUri(ServerExpression uriPart)
Provides a client interface to the fn:escape-html-uri server function.
XsBooleanExpr exists(ServerExpression arg)
Provides a client interface to the fn:exists server function.
arg
- A sequence to test. (of item)XsBooleanExpr falseExpr()
Provides a client interface to the fn:false server function.
XsNumericExpr floor(ServerExpression arg)
Provides a client interface to the fn:floor server function.
arg
- A numeric value. (of xs:numeric)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr generateId(ServerExpression node)
Provides a client interface to the fn:generate-id server function.
ItemExpr head(ServerExpression seq)
Provides a client interface to the fn:head server function.
XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsDayTimeDurationExpr implicitTimezone()
Provides a client interface to the fn:implicit-timezone server function.
XsStringSeqExpr 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)XsIntegerSeqExpr 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)XsIntegerSeqExpr 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)XsIntegerSeqExpr 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)XsIntegerSeqExpr 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)ItemSeqExpr 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)ItemSeqExpr 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)XsStringExpr iriToUri(ServerExpression uriPart)
Provides a client interface to the fn:iri-to-uri server function.
XsBooleanExpr 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)XsStringExpr localName(ServerExpression arg)
Provides a client interface to the fn:local-name server function.
XsNCNameExpr localNameFromQName(ServerExpression arg)
Provides a client interface to the fn:local-name-from-QName server function.
XsStringExpr lowerCase(ServerExpression string)
Provides a client interface to the fn:lower-case server function.
XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsAnyAtomicTypeExpr 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)XsAnyAtomicTypeExpr 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)XsAnyAtomicTypeExpr 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)XsAnyAtomicTypeExpr 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)XsAnyAtomicTypeExpr 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)XsAnyAtomicTypeExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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)XsStringExpr name(ServerExpression arg)
Provides a client interface to the fn:name server function.
XsAnyURIExpr namespaceUri(ServerExpression arg)
Provides a client interface to the fn:namespace-uri server function.
XsAnyURIExpr 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)XsAnyURIExpr namespaceUriFromQName(ServerExpression arg)
Provides a client interface to the fn:namespace-uri-from-QName server function.
XsBooleanExpr nilled(ServerExpression arg)
Provides a client interface to the fn:nilled server function.
arg
- The node to test for nilled status. (of node)XsQNameExpr nodeName(ServerExpression arg)
Provides a client interface to the fn:node-name server function.
XsStringExpr normalizeSpace(ServerExpression input)
Provides a client interface to the fn:normalize-space server function.
XsStringExpr normalizeUnicode(ServerExpression arg)
Provides a client interface to the fn:normalize-unicode server function.
XsStringExpr normalizeUnicode(ServerExpression arg, java.lang.String normalizationForm)
Provides a client interface to the fn:normalize-unicode server function.
XsStringExpr normalizeUnicode(ServerExpression arg, ServerExpression normalizationForm)
Provides a client interface to the fn:normalize-unicode server function.
XsBooleanExpr not(ServerExpression arg)
Provides a client interface to the fn:not server function.
arg
- The expression to negate. (of item)XsDoubleExpr number(ServerExpression arg)
Provides a client interface to the fn:number server function.
XsNCNameExpr prefixFromQName(ServerExpression arg)
Provides a client interface to the fn:prefix-from-QName server function.
XsQNameExpr QName(ServerExpression paramURI, java.lang.String paramQName)
Provides a client interface to the fn:QName server function.
XsQNameExpr QName(ServerExpression paramURI, ServerExpression paramQName)
Provides a client interface to the fn:QName server function.
ItemSeqExpr 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)ItemSeqExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsQNameExpr 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)XsAnyURIExpr resolveUri(ServerExpression relative, java.lang.String base)
Provides a client interface to the fn:resolve-uri server function.
XsAnyURIExpr resolveUri(ServerExpression relative, ServerExpression base)
Provides a client interface to the fn:resolve-uri server function.
ItemSeqExpr reverse(ServerExpression target)
Provides a client interface to the fn:reverse server function.
NodeExpr root(ServerExpression arg)
Provides a client interface to the fn:root server function.
XsNumericExpr round(ServerExpression arg)
Provides a client interface to the fn:round server function.
arg
- A numeric value to round. (of xs:numeric)XsNumericExpr 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)XsNumericExpr 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)XsNumericExpr 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)XsDecimalExpr 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)XsDecimalExpr 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)XsDecimalExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsBooleanExpr 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)XsStringExpr string(ServerExpression arg)
Provides a client interface to the fn:string server function.
XsStringExpr stringJoin(ServerExpression parameter1, java.lang.String parameter2)
Provides a client interface to the fn:string-join server function.
XsStringExpr stringJoin(ServerExpression parameter1, ServerExpression parameter2)
Provides a client interface to the fn:string-join server function.
XsIntegerExpr stringLength(ServerExpression sourceString)
Provides a client interface to the fn:string-length server function.
sourceString
- The string to calculate the length. (of xs:string)XsIntegerSeqExpr stringToCodepoints(ServerExpression arg)
Provides a client interface to the fn:string-to-codepoints server function.
arg
- A string. (of xs:string)ItemSeqExpr 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)ItemSeqExpr 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)ItemSeqExpr 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)ItemSeqExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr 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)XsStringExpr substringAfter(ServerExpression input, java.lang.String after)
Provides a client interface to the fn:substring-after server function.
XsStringExpr substringAfter(ServerExpression input, ServerExpression after)
Provides a client interface to the fn:substring-after server function.
XsStringExpr 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)XsStringExpr 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)XsStringExpr substringBefore(ServerExpression input, java.lang.String before)
Provides a client interface to the fn:substring-before server function.
XsStringExpr substringBefore(ServerExpression input, ServerExpression before)
Provides a client interface to the fn:substring-before server function.
XsStringExpr 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)XsStringExpr 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)XsAnyAtomicTypeExpr sum(ServerExpression arg)
Provides a client interface to the fn:sum server function.
arg
- The sequence of values to be summed. (of xs:anyAtomicType)XsAnyAtomicTypeExpr 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)XsAnyAtomicTypeExpr 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)ItemSeqExpr tail(ServerExpression seq)
Provides a client interface to the fn:tail server function.
XsDayTimeDurationExpr 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)XsDayTimeDurationExpr 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)XsDayTimeDurationExpr 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)XsStringSeqExpr tokenize(ServerExpression input, java.lang.String pattern)
Provides a client interface to the fn:tokenize server function.
XsStringSeqExpr tokenize(ServerExpression input, ServerExpression pattern)
Provides a client interface to the fn:tokenize server function.
XsStringSeqExpr 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)XsStringSeqExpr 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)XsStringExpr 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)XsStringExpr 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)XsBooleanExpr trueExpr()
Provides a client interface to the fn:true server function.
ItemSeqExpr unordered(ServerExpression sourceSeq)
Provides a client interface to the fn:unordered server function.
XsStringExpr upperCase(ServerExpression string)
Provides a client interface to the fn:upper-case server function.
XsIntegerExpr 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)XsIntegerExpr 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)XsIntegerExpr 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 © 2013-2018 MarkLogic Corporation.