I am trying to modify our configuration to take advantage of XmlMind 
4.x's support of XML catalogs for Xincluded documents.

I have an XML catalog that contains the definition:

  <rewriteURI uriStartString="ece-global:" rewritePrefix="./variables/" />

This means that I can put Xincludes in my documents as follows:

<xi:include href="ece-global:global-variables.ebk" xpointer="g-studio" />

And the referenced element "g-studio" is included from the file 
./variables/global-variables.ebk (where '.' is the location of my 
catalog.xml file).

So far so good...

My problem is, how do I insert

<xi:include href="ece-global:global-variables.ebk" xpointer="g-studio" />

into a document?

I tried the following in my "insert variable" macro:

<command name="include" parameter="replace 
ece-global:global-variables.ebk %_"/>

but it doesn't work - the inclusion is not carried out. Does the include 
function parse the referenced_document_URL parameter but not support 
catalogs?

Hope you can help...

Kevin Flynn
Escenic AS
Oslo, Norway


Reply via email to