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@sls.lcs.mit.edu
--------------477343BE5842F2A207C1F220
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Giovanni Flammia
Content-Disposition: attachment; filename="vcard.vcf"
begin: vcard
fn: Giovanni Flammia
n: Flammia;Giovanni
org: MIT LCS Spoken Language Systems
email;internet: flammia@sls.lcs.mit.edu
title: Mr.
note: Ciao
x-mozilla-cpt: ;0
x-mozilla-html: TRUE
end: vcard
--------------477343BE5842F2A207C1F220--