Step tokenize {http://www.daisy.org/ns/pipeline/xproc}

This step invokes the XPath fn:tokenize function with its options as arguments and returns the result as a sequence of c:result documents.

Defined in: http://www.daisy.org/pipeline/modules/common-utils/library.xpl

Output Ports

PortDescription
result primary sequence

A sequence of c:result documents whose content are substrings of the input string.

Options

Local NameNamespace URIDefaultDescription
string required

The input string. If a zero-length string is supplied, the step returns an empty sequence.

regex required

The regular expression used to match separators.

flags''

One or more letters indicating options on how the matching is to be performed. If this argument is omitted, the effect is the same as supplying a zero-length string, which defaults all the option settings.