[
Lists Home |
Date Index |
Thread Index
]
- From: "Martin Bryan" <mtbryan@sgml.u-net.com>
- To: <xml-dev@ic.ac.uk>
- 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
another:
<!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
Martin Bryan
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|