OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Class hierarchies in XML

[ Lists Home | Date Index | Thread Index ]
  • From: Giovanni Flammia <flammia@sls.lcs.mit.edu>
  • To: xml mailing list <xml-dev@ic.ac.uk>, Giovanni Flammia <flammia@sls.lcs.mit.edu>
  • Date: Wed, 02 Jul 1997 21:27:51 -0400


In our research group we're trying to use XML for the textual
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

Can you point me to the relevant specs?


Giovanni Flammia.
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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS