===Conversion to Java===
Before a Java constructor or function code is calledexecuted, the arguments are converted to Java values, as depending on the addressed function or constructor parameters. The accepted Java types and the original XQuery types are depicted in the second and first and second column of the table below.
===Conversion to XQuery===
{| class="wikitable"
|- valign="top"
! Accepted/returned XQuery input! Java value (and subtypes)! XQuery input (and subtypes)
! XQuery output
|- valign="top"