5.3. String Core Function Group

There are ten functions in the string core function group, seven of which return strings. The string() function serves to convert the range of objects supplied as an argument into a string according to the string conversion rules for that object type (covered in Section 5.3.2). The concat() function concatenates the group of strings supplied in the argument. The substring(), substring-after(), and substring-before() functions operate on subsets of strings. The next two functions manipulate the characters of the strings themselves. The first, normalize-space(), equalizes the whitespace in the strings supplied in the argument. The other, translate(), interprets two sets of arguments and replaces one set with the ...

Get XSLT and XPATH: A Guide to XML Transformations 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.