Converts a sequence of XML nodes into a sequence of integers. This function is usually used in conjunction with the xf:max and xf:min functions.
bea-xf:integer-sequence(node* $node-var) —> xs:integer*
Returns a sequence of integers converted from XML nodes.
Invoking the following query returns a sequence of integers, as shown in the following example query:
let $x := <a>100</a>
let $y := <b>2</b>
let $z := <c>50</c>
return <result>{bea-xf:integer-sequence(($x,$y,$z))}</result>
The preceding query generates the following result:
<result>100 2 50</result>