Re: [basex-talk] retrieving the name of the archive?

2017-09-18 Thread Graydon Saunders
Thank you! Someday I will get it through my head that it's not really a file system down there. :) On Mon, Sep 18, 2017 at 11:00 AM, Christian Grün wrote: > Hi Graydon, > > > the config switch is "ARCHIVENAME = true" > > Exactly, that’s the option you’ll need to

Re: [basex-talk] retrieving the name of the archive?

2017-09-18 Thread Christian Grün
Hi Graydon, > the config switch is "ARCHIVENAME = true" Exactly, that’s the option you’ll need to enable to get the archive names included in your database paths. It can also be passed on to XQuery functions (db:create, db:add, etc.). > This gets me the behaviour I was expecting would happen,

Re: [basex-talk] retrieving the name of the archive?

2017-09-18 Thread Graydon Saunders
Ok, so it looks like: 1. find where BaseX is really getting its config files ($HOME in my case); http://docs.basex.org/wiki/Configuration#Configuration_Files says "Q{org.basex.util.Prop}USERHOME()" which is exceedingly helpful! 2. add, to .basex (NOT .basexgui) AFTER # Local Options

[basex-talk] retrieving the name of the archive?

2017-09-18 Thread Graydon Saunders
Hello -- BaseX will happily consume zip archives; this is just splendid for loading up a bunch of docx files. Now I find myself wanting the name of the docx file -- the original name of the archive -- and I don't know how to retrieve that. (or if it can be!) But I think it must be there