Re: [docbook] external entities in docbook

From
Thomas Schraitle <>
Date
2007-11-14T17:34:29+00:00
ID
Thread
Re: [docbook] external entities in docbook
Hi,

On Mittwoch, 14. November 2007, Hinrich Aue wrote:
>
> at the moment we have a reference to a file containing our entitiy
> definitions like this:
>
> <!ENTITY % myents SYSTEM
> "Q:/docbook/Tourmalet_en/Variables/Variables.ent">
>
> This is of course ugly. Is there a different way of providing entities
> into any file without this?

Generally, I would recommend to use an URI instead of a path and resolve 
it through a XML catalog. See [1] for more information.
Of course your tools must support catalogs. :)


Hope that helps,
Tom

-----------
[1] http://www.sagehill.net/docbookxsl/Catalogs.html

-- 
Thomas Schraitle