Described is a system, method, and data structure that enables an
executable assembly associated with a subclass to be generated from a
subclass definition within a markup document. In accordance with the
invention, the subclass definition is written based on a schema. The
schema may be XML-based. The schema includes a subclass tag for defining
a name for the subclass. The name is associated with a type for an object
that is instantiated when the executable assembly executes. The schema
further includes one or more hints, such as for specifying a programming
language to compile the subclass definition, for specifying a superclass
from which the subclass derives, for specifying actions to perform when
the object becomes instantiated, for creating an event definition and
event handler for the subclass, and for specifying a property that
becomes a member within the object when the object is instantiated.