xinclude pointing to other eXist collections

<oXygen/> general issues.
bernardusgui
Posts: 11
Joined: Thu Oct 18, 2018 11:45 am

xinclude pointing to other eXist collections

Post by bernardusgui » Mon Jun 17, 2019 4:03 pm

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: 6541
Joined: Fri Jul 09, 2004 5:18 pm

Re: xinclude pointing to other eXist collections

Post by Radu » Tue Jun 18, 2019 9:01 am

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