[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: And the DTD says, "I'm NOT dead yet!!"
- From: James Clark <firstname.lastname@example.org>
- To: Norman Walsh <email@example.com>
- Date: Wed, 10 Jan 2001 20:58:29 +0700
Norman Walsh wrote:
> The significant feature that seems to be missing, but might be addressed
> with <redefine> if it's extended to allow complete redefinition of
> model groups and attribute groups (i.e., redefinition without reference
> to the original), is the ability to change the groups in derived schemas.
> Suppose I have the following PE in my DTD:
> <!ENTITY % article.content "para|note|warning">
> I can easily construct a derived DTD that does not allow warnings:
> <!ENTITY % original.dtd SYSTEM "...">
> <!ENTITY % article.content "para|note">
> It's not clear that I can do this with XML Schemas, and I do this *a lot*.
TREX allows you to do this. Your original PE would turn into:
You would override it using:
(In TREX, the last definition wins.)