Utility functions
xxf:is-blank()
[SINCE Orbeon Forms 2016.1]
If no argument is passed, use the context item converted to a string.
If an empty sequence is passed, return true()
.
Return true()
if the argument or context item string is a blank string. Otherwise return false()
.
With one argument, this function returns the same as not(xxf:non-blank(arg))
.
A string is considered blank if all leading and trailing Unicode whitespace, non-breakable space, zero-width space, and ISO control characters are removed, and the result is the empty string.
xxf:non-blank()
[SINCE Orbeon Forms 2016.1]
If no argument is passed, use the context item converted to a string.
If an empty sequence is passed, return false()
.
Return true()
if the argument or context item string is not a blank string. Otherwise, return false()
.
With one argument, this function returns the same as not(xxf:is-blank(arg))
.
A string is considered blank if all leading and trailing Unicode whitespace, non-breakable space, zero-width space, and ISO control characters are removed, and the result is the empty string.
xxf:split()
[SINCE Orbeon Forms 4.3]
Split a string with one or more separator characters.
If no argument is passed, split the context item on white space.
If $separator
is specified, each character passed is allowed as separator.
xxf:trim()
[SINCE Orbeon Forms 2016.1]
If no argument is passed, use the context item converted to a string.
If an empty sequence is passed, return the empty sequence.
The result is a string with all leading and trailing Unicode whitespace, non-breakable space, zero-width space, and ISO control characters are removed.
Last updated