Wanting to develop and XQuery interface to proprietary DB and was hoping to use BaseX core for implementation.  Is there a well-defined API for implementing such a thing, or would it be more a brute-force source-code sort of effort?  Licensing implications?

 

Thanks!