# bea-xf:integer-sequence

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.

### Signatures

bea-xf:integer-sequence(node* $node-var) —> xs:integer*

### Arguments

Data Type | Argument | Description
--- | --- | ---
node* | $node-var | Represents a sequence of XML nodes.

### Returns

Returns a sequence of integers converted from XML nodes.

### Examples

#### Simple

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>