Lists Home |
Date Index |
- From: "Martin Bryan" <firstname.lastname@example.org>
- To: <email@example.com>
- Date: Sat, 18 Apr 1998 08:49:07 +0100
Michael Kay wrote:
>I know some people will disagree, but the way I use XML, a DTD is a
>schema, an element definition in a DTD is a class, a document is a
>database, and an element within a document is an instance of a class.
>What is missing is that we can't define one class (element type) as a
>subtype of another.
In SGML you can use exclusions to make an element a true subclass of
<!ELEMENT X (%Y-contents;) -(a|b|c)>
providing a, b and c are optional components within the model for Y.
Unfortunately XML dropped this useful option from the set of SGML facilities
it in inherited
xml-dev: A list for W3C XML Developers. To post, mailto:firstname.lastname@example.org
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:email@example.com the following message;
To subscribe to the digests, mailto:firstname.lastname@example.org the following message;
List coordinator, Henry Rzepa (mailto:email@example.com)