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

Notes on the Saxon implementation

Available since Saxon 9.7.