[Home] [By Thread] [By Date] [Recent Entries]

  • From: Giovanni Flammia <flammia@s...>
  • To: xml mailing list <xml-dev@i...>, Giovanni Flammia <flammia@s...>
  • Date: Wed, 02 Jul 1997 21:27:51 -0400

Hello:

In our research group we're trying to use XML for the textual
representation
of semantic objects such as geographic locations, business listings,
addresses, etc.
We really need to build an object-oriented hierarchy, with classes that
are extended
by subclasses and so on...For example, a <restaurant> is a subclass of
<location> and
inherits the properties of <location> such as <address> and <street
number>, but
adds other properties, such as <menu>.

What is the proper syntax for expressing classes and sub-classes, or
types and subtypes,
inheritance and so on? i.e how do I tell in a document that <restaurant>

is a subclass of <location> (and perhaps allow even multiple
inheritance?)

Can you point me to the relevant specs?

Thanks.

Giovanni Flammia.
flammia@s...
begin:          vcard
fn:             Giovanni Flammia
n:              Flammia;Giovanni
org:            MIT LCS Spoken Language Systems
email;internet: flammia@s...
title:          Mr.
note:           Ciao
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
end:            vcard


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member