December 2003
Intermediate to advanced
384 pages
7h 10m
English
This chapter is all about the XPath 2.0 string functions. XPath 2.0 now includes support for regular expressions, which let you match strings and work with the text in them, as we'll see in this chapter.
The functions in this chapter work on operands of type xs:string and types derived from xs:string. There are a number of general-purpose functions that work on strings in XPath 2.0, and we'll begin with them:
fn:compare compares two or more strings.
fn:concat joins two or more strings.
fn:string-join joins strings using an optional separator.
fn:starts-with returns true if a string begins with a specified ...
Read now
Unlock full access