Standard: http://www.w3.org/TR/xpath#function-string-length

number string-length (string?)

Standard excerpt:

The string-length 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.