Class hierarchies in XML

Giovanni Flammia flammia at sls.lcs.mit.edu
Thu Jul 3 03:28:24 BST 1997


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 at sls.lcs.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcard.vcf
Type: text/x-vcard
Size: 280 bytes
Desc: Card for Giovanni Flammia
Url : http://mailman.ic.ac.uk/pipermail/xml-dev/attachments/19970703/d2b9e1d2/vcard.vcf


More information about the Xml-dev mailing list