Kevin Flynn wrote:
> 
> I am trying to set up XmlMind so that it is possible to include 
> variables from a document containing global variables common to all 
> documents, using the XInclude functionality. In order to make the 
> XInclude URLs work universally, I was hoping to be able to use XML 
> Catalog prefixes, but it doesn't seem to work.
> 
> As an experiment, I added
> 
> variables/global-variables.db
> 
> to usr/local/xxe/addon/config/docbook5/
> 
> and hand-edited my document to include references like:
> 
> <xi:include href="xxe-config:docbook5/variables/global-variables.db" 
> xpointer="iv-company" />
> 
> but it doesn't work (XmlMind reports inclusion errors).
> 
> Is there any other way to do this? 

No.

> I can't guarantee a fixed relative 
> path between "user" documents and the variables document, and I want 
> something that will work even if the PC is offline.

XML catalogs are used *almost* everywhere in XXE. Unfortunately, 
"almost" means: everywhere, except for <xi:include href="xxx"/>.

This limitation, like many other hard-to-understand limitations, will be 
removed in XXE v4 (should be released before the end of this year).






Reply via email to