Constructs a non-empty list with the given string if it is not empty, otherwise, returns the second argument.
Constructs a non-empty list with the value if it is not empty, otherwise, throws an error.
Construct an XML node based on the given option value.
Construct an XML node based on the given option value. If there is no value available, then an empty text node is returned, otherwise, the string representation (using show) of the value is returned in an element with the given label.
Construct an XML node based on the given option value.
Construct an XML node based on the given option value. If there is no value available, then an empty text node is returned, otherwise, the string representation (using show) of the value is returned in an element with the given label.
Returns the same String value if the given value is 1 otherwise pluralises this String by appending an "s" unless this String ends with "y" and not one of ["ay", "ey", "iy", "oy", "uy"] in which case the 'y' character is chopped and "ies" is appended.
The value of this string.
Construct an XML node based on the given option value.
Construct an XML node based on the given option value. If there is no value available, then an empty text node is returned, otherwise, the string representation (using show) of the value is returned in an element with the given label.