[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Class hierarchies in XML
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|