Here’s what I have working from my little Ant deployment script:
I’m making a Zip file to allow for a future where the Zip file is fetched from
somewhere else but
> I see that I can just directly install the individual module files, i.e.:
> repo install
> file:/Users/eliot.kimber/git/dita-build-tools/src/main/xquery/modules/now-dita-utils.xqm
True! I overlooked that one. With the repo:install, it can optionally
be combined with a FLWOR expression.
I see that I can just directly install the individual module files, i.e.:
repo install
file:/Users/eliot.kimber/git/dita-build-tools/src/main/xquery/modules/now-dita-utils.xqm
And that works, so I think I was just overthinking the problem.
In the context of an Ant deployment script on the
Hi,
I have used EXPath packaging, often to package some Java code and a calling
xquery module [1].
>the URL of the expath-pkg.xml library module which will be imported from
outside must match the name of the package
In my experience this is not required, see [2] for example.
I think the problem
> How best to manage deployment of XQuery modules and top-level scripts from a
> source environment to a running remote server so that using scripts can
> import modules using just the module namespace?
If you don’t care about version conflicts and other potential
dependency errors, you could
So maybe the better question is:
How best to manage deployment of XQuery modules and top-level scripts from a
source environment to a running remote server so that using scripts can import
modules using just the module namespace?
In my old DITA for Small Teams link manager application I was
I guess you’re right.
We haven’t revised EXPath packaging for a long time now. Actually, I’m
not sure how many people use it at all ;) Anyone out there?
On Mon, Jan 24, 2022 at 4:08 PM Eliot Kimber
wrote:
>
> I did confirm that if the package @name URI matches the URI of a module, then
> the
Hi Eliot,
> Using the where-used index to calculate the doc-to-bundle index, it takes
> about 50ms per topic or map to determine the bundle (on my laptop), which is
> still 10x slower than I’d like but certainly tolerable (at 50ms per topic it
> takes about 7.5 minutes to process 9400 topics).
The indexes I’m constructing are:
1. Where used: For each DITA map or topic, indexed by document URI (but
probably better indexed by node ID), capture the direct references to that map
or topic from other maps and topics.
2. Document-to-bundle map: For each DITA map or topic capture the
> My approach is to create a separate element for each index entry, rather than
> creating a single element that then contains all the index entries as shown
> in the index construction example in the docs.
You mean you don’t group the nodes by the index key, as shown in the
docs? That should
Hi Eliot,
I believe to remember that (at least in BaseX) the URL of the
expath-pkg.xml library module which will be imported from outside must
match the name of the package (http://servicenow.com/xquery, in your
case). See e.g. the example in the specification [1].
Best,
Christian
[1]
11 matches
Mail list logo