We have a situation where we have certain XQuery modules and we want to know if there is a way to load a module into BaseX at Run-time?

 

As a hypothetical example

 

If (some condition)

  Load module X into Basex

else

  Load module Y into Basex