Constructor Functions

xs:dateTime("2002-02-01T10:00:00+06:00")

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

String n = ((XSDateTime)rs.first()).stringvalue(); println(n);

in order to get the result of ‘2002-02-01T04:00:00Z’