…..Right now we
simply exchange the entities file we reference in every XML file when we need
to change the values of the entities.
To be more clear what we
do…..
Von: Hinrich Aue
[mailto:]
Gesendet: Thursday, November 15,
2007 11:00 AM
An:
Betreff: AW: [docbook] external
entities in docbook
Thanks so far, but this
does not really solve my problem.
I need some kind of
mechanism that can set the entities from command line.
I don’t understand
how this could work. Right now we simply exchange the entities file we
reference in every file……
Using the customization
of the DTD we again have to exchange files there.
And using catalogs is the
same. I have to reference something in every XML file...... or am I wrong? I
can provide something to xsltproc, but still I don’t really understand
that.
Can somebody give me a
useful example for that?
Hinrich
Von: Bob Stayton
[mailto:]
Gesendet: Wednesday, November 14,
2007 6:16 PM
An: Hinrich Aue;
Betreff: Re: [docbook] external
entities in docbook
For DocBook 4, the answer is yes. You can use the method
described here to include the entity declarations in a DTD customization:
http://www.sagehill.net/docbookxsl/ModularEntities.html#entities.in.dtd
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: Hinrich
Aue
To:
Sent: Wednesday,
November 14, 2007 1:15 AM
Subject: [docbook] external
entities in docbook
Hello list,
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?
Thanks,
Hinrich