xinclude pointing to other eXist collections

Oxygen general issues.
bernardusgui
Posts: 20
Joined: Thu Oct 18, 2018 11:45 am

xinclude pointing to other eXist collections

Post by bernardusgui »

In my eXist database, I have a collection hierarchy that looks something like this:

>db/apps/foo/data/common
>db/apps/foo/data/TC0001
>db/apps/foo/data/TC0002
>db/apps/foo/data/TC0003

Within each /data/TCxxxx collection... are XML files that contain xincludes that need to point to a given XMLl file in /common/ But I can't figure out how to write an xinclude that points correctly across to a document in another collection in eXist.

Thanks.
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: xinclude pointing to other eXist collections

Post by Radu »

Hi,

Usually in such cases you could try using relative references like "../common/common.xml". If this does not work, maybe you can ask around on the Exist Users mailing List, see how others are handling similar usecases.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply