BaseX C++ API trial