The functions declared in the mdex.xq library provide access to the internal API of the MDEX Engine. The names of these functions are bound to the mdex namespace.