string

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > xpath2 | accessors >

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.)


© 2019 Altova GmbH