Re: Client-side highlighting; tag proposal

Michael Johnson (michaelj@relay.relay.com)
Mon, 13 Mar 1995 13:53:17 +0500


>As a result, I am now looking at a way of specifying both the start and
>ends of highlighted region separately from the document body, e.g. using
>a single element in the document head, e.g. something like:
>
> <highlight from=3096 until=4013>
>
>Where the numbers are byte offsets into the document body.

Perhaps you could take a page from IBM Bookmaster, which defines a SPOT
element which basically exists to allow an ID to be inserted at a random place
in a document. Then you could do something like this:

<highlight from=spot01 until=spot04>
.
.
.
<spot id=spot01>
.
.
.
<spot id=spot04>

At least then you wouldn't need byte offsets, or line numbers, or other
error-prone mechanisms.

Michael Johnson
Relay Technology, Inc.