For two given strings, this function checks if the first string ends with characters of second string.
If any argument is not a string, it is converted to string using rules from string() XPATH function.
Thus if the second argument has no string value, the function returns true, because it will
be converted to an empty string first.Unlike start-with() XPATH function, this function is not described in XPATH 1.0 standard.
To write portable XPATH expression, use substring().