On Mon, 2022-02-21 at 17:08 -0500, Eric Levy wrote:
> > > 
> 
> Presently, BaseX offers limited support for embedded use. It seems,
> at
> least in principle, a feasible path is available to strengthen the
> support for the embedded case by supporting a mode of opening a
> database from a file path independent of data external to the path.

Just to be clear, there are two common uses for the term "path" and i'm
not sure which you mean...
(1) a filename, e.g. /usrpk/dp/projects/basex/db107
(2) a list of directories (folders) to search for something (DBBPATH)

You can open a database at a given file location easily in BaseX from
within XQuery using db:open() and for that matter you can search a list
of directories.

Your wording is abstract enough that i'm not sure i've understood what
you're trying to do, though.


Liam

-- 
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations:  http://www.fromoldbooks.org

Reply via email to