The string-length() XPATH function returns the number of characters in the string.
If the argument is omitted, it defaults to the context node converted to a string,
in other words the string-value of the context node.
Parameters
strg –
The string whose length must be measured.