The XPath String Functions
The following XPath string functions are available in XSLT:
concat(string string1 , string string2 , ...). This function returns all strings you pass to it concatenated together.
contains(string string1 , string string2 ). This function checks for the existence of the second string within the first string—returns true if found.
normalize-space(string string1 ). This function returns string1 (or context node if no string1) after leading and trailing whitespace is stripped and multiple consecutive whitespace is replaced with a single space.
starts-with(string string1 , string string2 ). This function returns true if the first string starts with the second string.
string-length(string string1 ). This function returns the ...
Get Inside XSLT now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.