BaseX API Implementations