(: Name: extvardeclwithtype- :)
(: Description: Evaluates an external variable that adds two integers:)
(: This query does NOT performs the operation :)

declare variable $x as xs:integer external;

$x