Previous chapters have discussed strings, Booleans, and numbers, but they haven’t really discussed in detail how to manipulate these datatypes. This chapter fills that gap by explaining how to work with strings, Booleans, and numbers. Although the emphasis is on converting, sorting, extracting, and merging strings, you’ll also learn how to how to format numbers and how to get the most out of Booleans.
XSL Transformations (XSLT) and XML Path (XPath) define many functions for working with string values. You can use these functions to
Convert numeric and Boolean values to strings
Manage spaces within strings
Sort and merge strings
Extract substrings from strings
Translate individual ...