comp.text.xml
[Top] [All Lists]

Re: Problems with multiple multiple-level inclusion of DTDs

Subject: Re: Problems with multiple multiple-level inclusion of DTDs
From:
Date: Mon, 28 Jul 2008 12:56:47 -0700 PDT
Newsgroups: comp.text.xml

On Jul 27, 4:14 pm, Peter Flynn <peter.n...@xxxxxxxxxxxxx> wrote:
> It's usually far easier to manage if you make base.dtd the external
> entity referenced by the DOCTYPE Declaration, and let users add their
> own selection of a, b, ... using a PE in the internal subset.
>
> <!DOCTYPE whatever SYSTEM "/some/uri/for/base.dtd" [
> <!ENTITY % a "INCLUDE">
> ]>
>
> and do all your entity management and file inclusion in base.dtd, a.ent,
> b.ent, or whatever.

Thanks!  This is much cleaner than the exclude-base-includers.dtd
trick I thought of earlier.

--- Jun Y.

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy