Hi Paul,

thanks for your answer. But it does not solve my problem because
i want to have only one version of this DTD. The extension test.ent
is a company specific structure. Other companies who uses the DTD too,
should
not be aware of this extension. Consequently i had the idea to put this
structure
in a separate file and use an optional external entity. In this way
maybe it is possible to omit the extension if other companies want to use
the DTD
and no modification of the DTD is necessary.
Despite of serveral tries to realize it, i did not manage to do it. I'm not
sure if it is possible.
Do you or anybody else know another possibility?

Mirko

-----Ursprüngliche Nachricht-----
Von: Colin Paul Adams [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 11. März 2003 10:00
An: [EMAIL PROTECTED]
Betreff: Re: External Entities


>>>>> "Mirko" == Mirko Braun <[EMAIL PROTECTED]> writes:

    Mirko> I have a XML-problem. Does anybody know, if there is a
    Mirko> possibility to denote an external entity like <!ENTITY %
    Mirko> Test SYSTEM "Test.ent"> as optional? Test.ent is an
    Mirko> extension of my DTD, which is not used by all users.  A few
    Mirko> users use it, others do not. Consequently the Test.ent can
    Mirko> be present or not.

Those users who want it can declare it in the internal subset, so
leave it out of the DTD.
--
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to