|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Inheritance in XML (was Re: Problems parsing XML)
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@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








