string
The string function works like the xs:string constructor: it converts its argument to xs:string.
When the input argument is a value of an atomic type (for example xs:decimal), this atomic value is converted to a value of xs:string type. If the input argument is a node, the string value of the node is extracted. (The string value of a node is a concatenation of the values of the node's descendant nodes.)

Languages
XQuery, XSLT 2.0, XSLT 3.0.
Parameters
Name | Type | Description |
---|---|---|
item | mf:item | The input value. |