Inheritance of entities in docbook files

136 views Asked by At

I am having some problems referencing some text from my xml files.

I have some xml documents (docbook 5.0 documents).

They all include a specific part from another xml file like this:

<xi:include href="path/to/myFile.xml" 
            xpointer="element(IDofSection)"/>

The referenced section has entities (like $productname;), that should be declared in the referencing document.

When I declare those entities in the referencing xml file, the referenced xml file does not inherit those entities.

I have searched all over the net but haven't found any solutions for this problem. Is what I'm doing in principle possible with xinclude? If not, how can I manage this problem with another techniques?

1

There are 1 answers

0
Verhagen On

This could be done through an entities file.

In this question DocBook macros? is an example shown of the entities solution.