[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Composition of DTDs was Inheritance in XML

  • From: "Meltsner, Kenneth J" <Kenneth.J.Meltsner@j...>
  • To: Peter Murray-Rust <peter@u...>, xml-dev@i...
  • Date: Mon, 20 Apr 1998 08:59:15 -0500

dtd xml inheritance


I think the value of XML in these cases is its "composability" - the
ability to develop a new DTD by "adding" together previously defined DTDs.
If I want to write the perfect catalog DTD, I don't have to reinvent
linking or styles; I can concentrate on modeling the relationships between
parts and systems and part numbers instead.

Aggregation/composition is a legitimate alternative to inheritance for many
applications, but tends to get used less often in class-instance object
systems.
 In prototype-based OO systems, like the UI toolkits Garnet and Amulet,
it's the usual way of building new objects or of specializing the behavior
of old ones.

The namespace spec goes a long way to making this more possible.

Ken Meltsner


-----Original Message-----
From: Peter Murray-Rust <peter@u...>
[...]
This is actually a good example of where I think XML has a lot to offer. In
designing complex systems it is a good idea to re-use well-tested
components where possible. If, for example, your power station relies on
mathematics, physics, chemistry, safety protocols, etc. then it will make
sense to re-use those developed in a community-wide fashion. In an XML
document it is straightforward to detect the namespaces used and to
separate the components. I find it much easier to extract the separate
information components from an XML file than (say) an RTF document.



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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.