formatFloatSequence

This function formats a sequence of floats as a comma-separated list of SQL literals.

Syntax

composite:formatFloatSequence ($values as node()*)

Example

declare variable $values := <a><b>1</b><b>2</b></a>;
<result>{composite:formatFloatSequence ($values//b)}</result>

Result

The output is of the form xs:string:

<result>1.0,2.0</result>