## How to use XPath 2.0 operators with PsychoPath

The aim of this section is to give the user an overview of the available XPath 2.0 operators that are implemented in PsychoPath. For the formal specifications, see the W3C web-site for XPath 2.0 functions and operators http://www.w3.org/TR/xpath-functions/.

## Operators on Numeric Values

xs:integer(4) + xs:integer(3)

from within a Java application, in order to extract the result from the result sequence, one would have to use this code:

Integer n = ((XSInteger)rs.first()).integervalue(); println(n);

in order to get the result of ‘7’