Reference Guide > TDV Built-in Functions for XQuery > formatDoubleSequence
 
formatDoubleSequence
This function formats a sequence of doubles as a comma-separated list of SQL literals.
Syntax
composite:formatDoubleSequence ($values as node()*)
Example
declare variable $values := <a><b>1.0</b><b>2.0</b></a>;
<result>{composite:formatDoubleSequence ($values//b)}</result>
Result
The output is of the form xs:string:
<result>1.0,2.0</result>