HyTime-Hypermedia-Time Document Structuring Language
HyTime-Hypermedia-Time Document Structuring Language
HypermedialTime-based
D o c u m e n t Struc:turing Language
he computer and telecom- ment contains data consisting of exam-
munications industries have ples of markup (for example, an
made enormous progress in S G M L document about SGML).
communications technology stan- The proposed standard "HyTime"
dardization in recent years. One Hypermedia/Time-based Document
effect of good communications tech- Structuring Language ( I S O / I E C
nology is that people can concentrate Draft International Standard (DIS)
on the information being communi- 10744), built on the Standard Gener-
cated. More and more people are alized M a r k u p Language (SGML;
realizing, however, that being able I S O / I E C International Standards
to send and receive files containing (IS) 8879-1986), is designed to make
information is not enough. all this possible. By using S G M L /
It is desirable that all digital HyTime, all kinds of documents can
documents explicitly indicate in a package their information content
standard way what kind of notation using standard "markup." This
is used in them. When an electronic markup provides information about
document is created, its author the structure and notation(s) of the
should be able to incorporate active document in a way that is under-
references to other on-line documents standable or interpretable by any
("hyperlinks"l), regardless of the application that has been provided
heterogeneity of their notations. In other words, there with an appropriate data importation facility. The
should be a standard way to make "information about "structured" character of such documents will also
information" interoperable. Such a standard should, make them amenable to nonsequential browsing,
a m o n g other things: querying, access and version control, and maintenance
over very long time spans.
• provide a standard way to express the fact that any
number of data objects in any number of different nota-
The WOrld Of Structured
tions are related in some way or for some reason. 2
Documents
• provide a standard way to express the way in which The majority of the information stored by h u m a n
any n u m b e r of data objects in any n u m b e r of dif- civilization is for perception by h u m a n beings? Most of
ferent notations are intended to be rendered for human that information is fully formatted for immediate and
perception in space, in time, or in both space and time? direct perception, and stored on printed pages. Some
One method of incorporating information about the of it is fully formatted, but still requires the use of some
information contained in a document is to use "markup ''4 mechanism to render it perceivable. In this category
consisting mainly of "start tags" and "end tags" that are such items as magnetically recorded plain A S C I I
respectively precede and follow each logical portion of text files, PostScript files, digital video and sound
a document. Tags must be specially punctuated so that recordings, etc. The rest of the information is stored
the markup can be identified as markup when the docu- unformatted, but in such a way that is convenient to
ment is parsed, and it can be processed separately from format, perform, or otherwise render for direct percep-
the data which it surrounds. Obviously, the rules for speci- tion by h u m a n beings; databases and structured
fying the punctuation that distinguishes markup from documents fall into the latter category.
data must be powerful enough to ensure that the markup Structured documents are so named because the hierar-
and the data cannot be confused even when a given docu- chical and sequential structure of the various kinds of
68 November 1991/Vol.34,No.I1/COMMUNICATIONSOF T H E A C M
needs o f as many h u m a n communi-
ties o f endeavor as a committee-
developed public standard would.
(Although it is often said that a
camel is a committee's idea o f a
horse, there are many people who
need camels for situations in which
horses cannot function.)
wise unrelated data objects are re- text, or multimedia edit decision data objects are related. H y T i m e
lated or connected in some abstract lists in order to allow the inter- contains a set of agreements about
or exogenous fashion, i.e., no way change of hyperlinks. It is only nec- how hyperlinks can be expressed.
to express a hyperlink. It is not nec- essary to agree about how to ex- Again, these agreements were
essary to reinvent footnotes, hyper- press in documents the fact that reached by consensus of the indus-
tries involved in the standard-
making process.
information i n t e n d e d for h u m a n
The U.S. Department of Defense (DOD) has been working to de- perception that uses one or more
velop technology and document architecture for revisable data- media in addition to written
bases in support of Interactive Electronic Technical Manuals words and graphics. T h e presen-
(IETM:;) as replacements for paper technical manuals for logistic
tation of the added media may
support of military equipment [241. To hold costs down, to immu-
nize IETM databases from obsolescence of presentation and que- occupy time, space, or both.
rying systems, and to allow the information to be available on a • a hypertext d o c u m e n t is a parcel of
wide range of different types of machines (from mainframes to written and graphic information
CD-ROM belt packs for use in the field), the DoD needs a standarcl i n t e n d e d for h u m a n perception,
way to represent its technical data. These data include a large which can be explored a n d pre-
number of cross references, access conditions, conditional sented in a variety of sequences,
branchings, possible equipment configurations, etc.; IETMs are using a set of traversable connec-
hypertexts. With a hypertext standard in hand, the DoD can make tions usually called "links" (in this
compliance w i t h that standard a condition of its documentation article, "hyperlinks" to avoid con-
contracts w i t h its hardware and software suppliers.
fusion).
ThE~SGML document type definition of IETM database docu-
• a hypermedia d o c u m e n t is a multi-
ments is called the Content Data Model (CDM) !15i. The designers
of thee C;DM chose to base its hyperlinking and document address- media d o c u m e n t with hyperlinks.
ing ~lcilities on HyTime. HyTime was adopted for a number of rea- T h e construction a n d traversal of
sons, including the following: hyperlinks in hypermedia docu-
• Cross Referencing ments poses special problems,
A strong cross-referencing facility was needed. In the course of since it should be possible to link
repairing a Piece of equipment, a technician may need t o consult to some point with a video object,
a large number of documents, and/or many different parts of for example.
each document. • a time-based document is a docu-
• Conditional Branching
m e n t which specifies one or more
TO identify a technical problem with a piece of equipment, a
technician generally performs a number of tests, on the basis of time schedules to which its ren-
which a diagnosis is made and a repair procedure is prescribed. dering is m e a n t to conform, e.g.,
The manual must outline each step of the testing and repair pro- musical scores, animation
cedure, and there must be a specific series of steps to be taken storyboards, plays, and business
for each possible problem. The CDM ern ploys HyTime hyperlinks to presentations.
represent the possible branchings. • a space-based d o c u m e n t is a docu-
• Multiple Hierarchies m e n t which specifies a two- or
HyTime can be used to impose an alternative structural hierar- three-dimensional finite coordi-
chy upon a read-only document, by creating a set of hyperlinks in
nate space, a n d which specifies
another document. This feature was regarded as highly desirable
the relative positions at which the
due to the large number of anticipated CDM applications uses,
and the enormous amount of "legacy data" involved. objects contained in the docu-
• References to Multimedia Objects m e n t are to be rendered. Exam-
M~lny IETM documents will have to contain multimedia objects, ples include displays on com-
including motion videos demonstrating inspection and repair pro- puter screens comprising blocks
cedures, audible spoken instructions, etc. HyTime's standardiza- of text, graphics, a n d icons with
tion of references to digital multimedia Objects in all notations "screen real estate" allocated to
will greatly lessen the difficulty and cost of preparing IETM docu- each b l o c k - - p l a n s for stage sets
men,ts for presentation on various platforms and for use in vari- which allocate space on the stage
ous contexts.
for each property; etc.
• H y T i m e is a proposed standard
COMMUNICATIONSOFTHEACM/November1991/Vo1.34,No.ll 71
• Wa
based or space-based document, or
it m a y b e a n y c o m b i n a t i o n o f t h e
foregoing.
The primary modules support
b a s i c utility f u n c t i o n s ( t h e b a s e
module), the indication of segments
of information, wherever they may
be, (the location address module),
t h e e x p r e s s i o n o f h y p e r m e d i a links,
a n c h o r s , L4 a n d w e b s x5 ( t h e h y p e r -
link module), and the specification
of space and time relationships (the
f i n i t e c o o r d i n a t e s p a c e (FCS) m o d -
ule). T w o a d d i t i o n a l m o d u l e s c a n
be added to the finite coordinate
space module: the event projection
module and the object modification
m o d u l e . T h e l a t t e r a r e u s e d to
specify the rendition of HyTime
documents. The base module must
always be supported by any
HyTime-compliant system. In ad-
dition, under most circumstances,
at l e a s t o n e o f t h e o t h e r m o d u l e s
m u s t also b e s u p p o r t e d in o r d e r to : use(
take advantage of HyTime's stan- end
dard semantics. ana
Base Module
T h e b a s e m o d u l e (see F i g u r e 3) in-
sible either to prevent such deg- tions a m o n g d o c u m e n t owners policy" element. T h e activity-
radation or to a d a p t to it in a and editors, and users, creators, tracking policy element can asso-
timely fashion without the coop- anthologizers, etc. ciate policies with any combina-
eration o f the owner and/or edi- tion o f the following activities
tor of each linked-to document. Any element in an SGML docu- with respect to the element: (1)
HyTi:me mitigates this problem m e n t can have an "activity-track- creating, (2) modifying, (3) link-
(and others) by providing a stan- ing" attribute, which functions as ing, (4) accessing, and (5) delet-
d a r d ,Nay to establish communica- a pointer to an "activity-tracking ing. For each activity, there can
be a policy expressed in a
xenoform.
T h e activity-reporting facility
can be used by the a u t h o r o f a
d o c u m e n t containing a hyperlink
to inform the owner o f the
linked-to d o c u m e n t o f the exis-
tence o f the link, and to request
notification in the event that the
d o c u m e n t (or element, e t c . ) i s
revised. It could be used by an
a p p r o p r i a t e l y e q u i p p e d commu-
nications system to d e t e r m i n e
who should be billed and who
should receive the royalty in cases
where a link is traversed to infor-
mation for which there is an ac-
cess charge. T h e applications o f
activity r e p o r t i n g in collaborative
research endeavors are many.
T h e y can be used as a means o f
collecting opinions, approvals,
comments, a n d links to o t h e r rel-
"! '2", '-"...."..
............
+:',.-,. . evant material. T h e access policy
A HyTIme-compllant document type definition (DTD) Is created using
HyTIme architectural forms. Although like any other SGML DTD, It con- can be used for security pur-
slsts of user-defined elements and attribute lists, some of these ele- poses, to withhold information
ments and attribute lists must conform to HyTIme architectural forms, from u n a u t h o r i z e d persons, and/
which may be combined and/or embelllshecl as needed. or to r e p o r t each access. Access
r e p o r t i n g can also be used to de-
velop information about the use-
fulness o f the document, and
whether it is being used as its au-
thor intended.
other optional basic utilities in-
t e n d e d to provide syntactically
economical means o f declaring
default attribute values and defi-
nition tables.
location )
address
module
space I
location named
list
semantic )
location
class
-~ielmlll t . . . . . . . . . . . .
HyTIme'$ location address module. Basically, there are three kinds of addressing: by position (coordinate
location), by semantic construct (semantic location), and by name (namespace location). Support of features
In Italics; Is optional.
that the quantum is some data location address element pro- SGML. For example, one can
combination defined as a token, vides a way for a portion of the imagine an expression in some
e.g., a word in a natural language object to be identified when the application-specific query lan-
delimited by whitespace. object's notation is unknown, or guage for extracting objects from
• A tree location address allows a por- when only the rendition, and not data objects notated in some ap-
tion of a hierarchy to be identi- the source notation, is available to plication-specific page descrip-
fied by specifying target levels by the author. Obviously, it would tion language, to the following
counting levels from the root, often be preferable to use a nota- effect: "Please give me only the
and then by specifying siblings, tion-specific location address, if third polygon from the left. 'q7
counting on the chosen level(s) possible, because greater specific-
from left to right. T h e quantum ity would usually be possible. Hyperlink Module
is a node. T h e r e are five kinds of hyperlink
• Path i!ocation addresses allow a por- Addressing by Semantic defined by HyTime, which were
tion of a hierarchy to be identi- Construct designed to meet most general as
fied by specifying terminal nodes, HyTime provides two architectural well as some specialized hyperlink-
counting left to right (thus estab- forms which allow semantic ad- ing needs: independent link (ilink),
lishing a unique path or paths), dressing: property link (plink), contextual link
and then specifying a range of (clink), aggregate location link (ag-
• An attribute location address points
nodes, counting from the root to glink), and spanlink (see Figure 5).
to the value of an SGML attribute
the leaf on those unique paths. Since each of these is an architec-
by attribute name; alternatively it
Again, the quantum is a node. tural form, a limitless n u m b e r of
may point to a generic identifier.
• FCS location addresses (discussed in different hyperlink elements, each
"Finite Coordinate Space (FCS) • Notation-specific location addresses with its own semantics, may be de-
Module"), allow the specification allow a subset of the data con-
of a portion of a media object, tained in some larger data object 16There are several implementations o f
such as a photograph, by impos- to be identified in a fashion which SGML-based hypertext systems using the
ing a Finite Coordinate Space on requires the use of a system capa- SGML # I D - # I D I ~ F mechanism, a n d at least
some are commercially available.
some actual or hypothetical ren- ble of interpreting the data. Nei-
dition of the object, and then by ther the data nor the expression lVNotations used to address SGML docu-
ments, such as DSSSL addresses or S F Q L
identifying the desired portion as used to extract the subset of those queries, could also be used as notation-
a region of that FCS. T h e FCS data need be interpretable as specific location addresses.
such data may or may not be par- real m e a s u r e m e n t units, such as rate at which virtual units of time
sable as SGML. loaves o f bread, is variable in some (musical beats) are converted into
ObjeclLs in a H y T i m e finite coor- application-defined fashion. real time. Batons are schedules of
dinate space occur in that space as T h e r e is no constraint u p o n ap- proscopes in the same way that
the content o f events; an event is a plication developers to use only the evscheds are schedules o f events.
nominal conceptual b o u n d i n g box m e a s u r e m e n t granules mentioned T h e content o f a proscope is called
for an object. Each event has a set in the H y T i m e standard. a projector; the relationship be-
o f dimension specifications (like An FCS may contain any n u m b e r tween proscope and projector is
those used in location addressing by o f event schedules (evscheds), and similar to the relationship between
position) that specify its position each event schedule may contain event and object. As with the ob-
and extent on the coordinate axes any n u m b e r o f events. How the jects contained in events, H y T i m e
o f the finite coordinate space in events are organized on event may or may not u n d e r s t a n d a given
which the event schedule (ovsched) schedules, a n d how the event projector. I f a projector is in a for-
containing the event appears. schedules themselves are orga- eign notation, a H y T i m e engine
I n ca,;e an object is not readily nized, is left to the discretion o f may have to ask the application to
r e n d e r a b l e within the b o u n d i n g application designers. work out the location and extent o f
box o f its event, H y T i m e provides a the projected events. However, cer-
way to express alternative extent Event Projection Module
tain commonplace kinds o f projec-
reconciliation strategies. T h e event projection module's fa-
tion, such as projection by constant
Positions and extents o f events in cilities are used to specify how the
ratio, can be expressed in H y T i m e .
an FCS are specified in terms ap- positions and extents o f events in
p r o p r i a t e to the FCS. Every FCS one FCS (the "source FCS") are to
Object Modification M o d u l e
establishes a specific m e a s u r e m e n t be m a p p e d onto a n o t h e r (the "tar-
T h e object modification m o d u l e
domain, and a reference unit is de- get F C S " - - s e e Figure 8). For exam-
provides a way to specify the or-
fined for each o f its axes. All di- ple, a source FCS o f two dimensions
derly application o f object modifi-
mension specifications are m a d e might be a large mosaic o f square
ers (see Figure 8) a n d combinations
using quanta that are fractions or events, each nominally correspond-
o f object modifiers. A w a n d is a
multiples of the reference unit. ing to a square meter o f the state o f
schedule o f m o d s o o p e s in the same
New Jersey. (For purposes o f this
For example, a d o c u m e n t archi- way that a b a t o n is a schedule o f
example, we will ignore the fact
tect may choose the Syst~me Inter- prosoopes. A modscope expresses
that o u r planet is spherical.) In the
national (SI) meter to be a refer- the range o f the effect o f the modi-
source FCS, each event has a spe-
ence unit, a n d use millimeters, for fier it contains in terms o f the
cific position and extent which is
dimension specification. source FCS. Objects or parts o f ob-
described in terms o f m e a s u r e m e n t jects in events occupying the same
H y T i m e is p r o v i d e d with many
granules called meters from the ori-
declarations o f dimensional quanta region in the source FCS as that
gin o f the FCS. Each event contains
based on the SI meter and the SI occupied by a given modscope will
an application-defined object which
second. Some prosaic examples in- be affected by the modifier occur-
describes that particular plot o f
clude:
land. I f we wish to r e n d e r a m a p o f
[gSuch a program could be used to mediate
New Jersey, a simple projector, user interaction, for example.
• a centimeter is ~0 o f a meter
(e.g., 10,000 "meter" granules in
• an inch is 2.54 centimeters (an 2°Objects are not always entirely uninterpret-
the source FCS to one "centimeter"
international standard value, not able by HyTime. An object can also be a re-
granule in the target FCS), could cursive finite coordinate space element, for
an approximation) example.
have its effect over the entire
t a minute is 60 seconds
source FCS, or different p r o s o o p e s 2XThe missing o is not a spelling error. While
• a millisecond is 1#00 o f a second SGML is capable of handling identifiers of
could be used to bring different
any length, the "Reference Concrete Syntax"
In addition to quanta of real projectrs 2~ to bear on certain parts defined by ISO 8879-1986 allows a m a x i m u m
m e a s u r e m e n t (e.g., second, inch), o f the state, to allow m o r e (or less) of only eight characters for each identifier.
H y T i m e allows the declaration o f detail to be shown for specific areas. Since the Reference Concrete Syntax consti-
tutes the m i n i m u m set of requirements which
virtual m e a s u r e m e n t domains with T h e target FCS constitutes a "ren- all SGML systems must meet, all HyTime
quanta defined in terms o f units o f dering, ''22 o r particular r e n d e r e d identifiers have been limited to eight charac-
virtual time and virtual space. Virtual ters for the sake of minimally conforming
instance o f the source F C S - - f o r parsers. However, if conforming to the Refer-
m e a s u r e m e n t units are "figures o f instance, an e x p l o d e d view o f At- ence Concrete Syntax is not required, an al-
merit" in much the same way that lantic City. A schedule o f p r o s - ternative concrete syntax can be declared.
dollars are: they mean something copes is called a b a t o n . T h e baton 2~Actually, a HyTime engine does not
with re,;pect to themselves (two dol- appellation is a m e t a p h o r for the "render" anything. It only creates application-
internal data structures which are intended t o
lars are worth twice as much as baton o f an orchestra conductor; an allow applications to render an FCS in some
one), but their rate o f exchange to orchestra conductor determines the application-specific fashion.
78 November 1991/Vo1.34,No.ll/COMMUNICATIONSOFT H E A C M
ring in that modscope. Perhaps the
most important difference between specifying specifying
event projection and object modifi- scheduling scope scope
cation, at least as far as implement- objects In of object of event
events: modifiers: projectors:
ers of HyTime are concerned, is
that HyTime does far less to stand- EVSCHED WAND BATON
ardize the semantics of object modi-
fication than it does to standardize
the semantics of event projection.
Schedules of object modifiers are
(somewhat whimsically) called event modscope
I proscope
wands because, while batons trans-
form scheduled events (constructs
fully defined by HyTime), wands
act on the objects within events, and
neither the semantics of modifiers
nor objects are defined by
HyTime. 2a The modification of
objects has no impact on the posi-
tion or extent of the events in which
they occur.
)))))))):)))i))):));i)))i))))):))!):)))j)))))J))!i)i)))!)i)ii))):))i
put of the document back to the
application. The application uses
this information as it sees fit, and );:))
it may ignore it entirely.
82 OFTHEACM
November1991/Vol.34,No.ll/COMMUNI~kTIONS
originally donated through the SGML X 3 V 1 . 8 M p r o c e s s e s b y r e p o r t s in t h e t h e c o m m i t t e e ' s w o r k a t its a n n u a l I n -
U s e r s ' G r o u p via t h e U n i v e r s i t y o f (TAG) newsletter (GCA cosponsors ternational Computer Music Confer-
Exeter. this p u b l i c a t i o n ) , by h o s t i n g c o m m i t - ence (ICMC). In addition, the ICMA
tee meetings, and by arranging pres- m a k e s m o s t o f t h e d o c u m e n t s l i s t e d in
e n t a t i o n s a n d d i s c u s s i o n s r e l e v a n t to t h e d o c u m e n t r e g i s t e r a v a i l a b l e to t h e
ANSI X3VI.8M Secretariats t h e c o m m i t t e e ' s w o r k a t its r e g u l a r p u b l i c o n a c o s t - p e r - p a g e basis. C o n -
Because of the interdisciplinary na- TechDoc, SGML, International tact T h e International Computer
ture of the committee's work, there Markup, and other conferences and M u s i c A s s o c i a t i o n , L a r r y A u s t i n , Pres-
are two X3V1.8M Secretariats. Both tutorials. In addition, the GCA distrib- i d e n t , P.O. B o x 1634, S a n F r a n c i s c o ,
Secretariats maintain awareness of the u t e s t h e c o m m i t t e e ' s d o c u m e n t s to t h e C A 9 4 1 0 1 - 1 6 3 4 (tel.: (817) 5 6 6 - 2 2 3 5 ;
committee's activities among the mem- p a r t i c i p a n t s o f r e c o r d p r i o r to e a c h I n t e r n e t : c m a @ d e p t . c s c i . u n t . e d u ) , r,I
b e r s o f t h e c o m m u n i t i e s t h e y serve. X3V1.8M meeting. For more infor-
B o t h solicit a n d f o r m u l a t e u s e r re- m a t i o n , c o n t a c t M a r i o n E l l e d g e , Vice
quirements, both conduct workshops President, Information Technologies,
a n d m e e t i n g s , w h e r e t h e y solicit f e e d - Graphic Communications Association, Permission to copy without fee all or part of
b a c k o n t h e t e c h n i c a l issues c o n f r o n t - 100 D a i n g e r f i e l d R o a d , A l e x a n d r i a , this material is granted provided that the
ing the committee, both publish infor- V A 2 2 3 1 4 (tel.: (703) 5 1 9 - 8 1 6 0 ; fax: copies are not m a d e or distributed for direct
mation about the work of the (703) 5 4 8 - 2 8 6 7 ) . commercial advantage, the A C M copyright
c o m m i t t e e in t h e i r r e s p e c t i v e p u b l i c a - The International Computer Music notice and the title of the publication and its
t i o n s , a n d e a c h h a s a d i s t i n c t r o l e in Association (ICMA) serves the music date appear, and notice is given that copying
the distribution of committee docu- c o m m u n i t y ' s i n t e r e s t in t h e I S O / I E C is by permission of the Association for
ments. D I S 10744, C D 10743, a n d A N S I C o m p u t i n g Machinery. To copy otherwise, or
The Graphic Communications As- X 3 V 1 . S M p r o c e s s e s b y r e p o r t s in its to republish, requires a fee a n d / o r specific
s o c i a t i o n ( G C A ) [14] s e r v e s t h e p u b - n e w s l e t t e r , Array, b y h o s t i n g c o m m i t - permission.
l i s h i n g c o m m u n i t y ' s i n t e r e s t in t h e tee m e e t i n g s , a n d b y a r r a n g i n g p r e s -
ISO/IEC DIS 10744 a n d ANSI e n t a t i o n s a n d d i s c u s s i o n s r e l e v a n t to © ACM 0002-0782/91/1100-067 $1.50
Springer-Verlag
New York Berlin Heidelberg Vienna London Paris Tokyo Hang Kong Barcelona Budapest
Circle # 1 1 on R e a d e r S e r v i c e Card