fn:contains-token
Determines whether or not any of the supplied strings, when tokenized at whitespace boundaries, contains the supplied token, under the rules of the supplied collation.
contains-token($input as xs:string*, $token as xs:string) ➔ xs:boolean
Arguments | |||
| $input | xs:string* | The input string |
| $token | xs:string | The token |
Result | xs:boolean |
contains-token($input as xs:string*, $token as xs:string, $collation as xs:string) ➔ xs:boolean
Arguments | |||
| $input | xs:string* | The input string |
| $token | xs:string | The token |
| $collation | xs:string | The collation |
Result | xs:boolean |
Namespace
http://www.w3.org/2005/xpath-functions
Links to W3C specifications
XPath 3.1 Functions and Operators
Saxon availability
Available in XPath 3.1, XSLT 3.0, and XQuery 3.1. Available in all Saxon editions. Implemented since Saxon 9.7.
Notes on the Saxon implementation
Available since Saxon 9.7.