LINKs
Lou Burnard <lou@vax.ox.ac.uk>
X400-Received: by mta chx400.switch.ch in /PRMD=switch/ADMD=arcom/C=CH/;
Relayed; Wed, 11 Aug 1993 11:04:51 +0200
X400-Received: by /PRMD=uk.ac/ADMD= /C=gb/; Relayed;
Wed, 11 Aug 1993 11:04:27 +0200
X400-Received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed;
Wed, 11 Aug 1993 11:04:12 +0200
X400-Received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed;
Wed, 11 Aug 1993 11:05:14 +0200
X400-Received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed;
Wed, 11 Aug 1993 11:05:07 +0200
Date: Wed, 11 Aug 1993 11:05:07 +0200
X400-Originator: lou <lou@vax.oxford.ac.uk>
X400-Recipients: WWW-TALK@INFO.cern.ch
X400-Mts-Identifier: [/PRMD=UK.AC/ADMD= /C=GB/;<00970DB7.750E808A.20414@vax.ox.]
X400-Content-Type: P2-1984 (2)
Content-Identifier: LINKs
From: Lou Burnard <lou@vax.ox.ac.uk>
Message-id: <00970DB7.750E808A.20414@vax.ox.ac.uk>
To: WWW-TALK@nxoc01.cern.ch
Cc: lou@vax.ox.ac.uk
Subject: LINKs
Status: RO
It seems to me that the LINKs that people are currently talking about
are an artifice which HTML has to bolt on as a direct consequence of not
providing proper document structuring capabilities. (hastily dons
asbestos overalls)
In a *real* SGML world, your document structure would be exactly
mirrored by the SGML structure. In HTML-ese, your H1 elements would nest
directly within the document, H2 elements within H1s and so on down. To
construct a top level outliner-style index you just need to pick up the
heading of the H1s, to expand one of them just look at the headings of
its children H2s, and so on. Take a look at the way DynaText functions,
for example.
To move around the document in terms of the hierarchy you just need to
maintain a tree within the browser. You must have a 'parent', 'child',
'left' and 'right' functions. To my mind it's bizarre to hard code
pointers or links for such functions into the document: they're part of the
semantics of having an SGML document in the first place. Furthermore, if
each element in an HTML document potentially had a unique identifier
then each element could be linked to independently of the rigid document
hierarchy that outliners like. That way you'd get the best of both
worlds.
This seems so obvious I must be missing something.
Lou