[basex-talk] Runtime load of a module?

2020-05-17 Thread Buddy Kresge
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

Re: [basex-talk] Runtime load of a module?

2020-05-17 Thread Martin Honnen
Am 17.05.2020 um 16:46 schrieb Buddy Kresge: 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? https://docs.basex.org/wiki/XQuery_Module#xquery:parse-uri seems to allow that. The W3C library also defines htt

Re: [basex-talk] Runtime load of a module?

2020-05-17 Thread Buddy Kresge
Can’t tell if that parse-uri will then put things into the context such that a call to inspect:context() will return the functions loaded? Trying to run an interactive example with GUI, so maybe I’m doing something wrong? Buddy Kresge buddy.kre...@known2u.com o: 860-800-6677 ext: 501 m: 860-986-

Re: [basex-talk] Runtime load of a module?

2020-05-17 Thread Christian Grün
Hi Buddy, inspect:functions should help you out [1]; it’s similar to fn:load-xquery-module (which – Martin is right – is not available yet in BaseX). Hope this helps Christian PS: Please be patient, I’ll be offline most of next week. [1] https://docs.basex.org/wiki/Inspection_Module#inspect:fun