Creating Interreality: The Virtual Object System: Version 0.12.0 | ||
---|---|---|
Prev | Chapter 6. Object Type Definitions | Next |
First, an XML header is required in all OTD documents:
<?xml version="1.0" ?> <!DOCTYPE otd SYSTEM "http://interreality.org/otd/otd.dtd">
Comments may be included at any point in comment tags:
<!-- this is a comment -->
The root element for an OTD is otd
. Within that element are
elements defining various aspects of the type. Note that the elements
must be included in the correct order in order to conform to the XML DTD.