Date: Mon, 13 Mar 95 19:11:13 +0100 Message-Id: <9503131811.AA08040@flame.falch.no> From: Steinar Bang <firstname.lastname@example.org> To: email@example.com Cc: Multiple recipients of list <firstname.lastname@example.org> Subject: Re: Client-side highlighting; tag proposal In-Reply-To: <199503131709.AA214614550@dragget.hpl.hp.com> >>>>> "Dave Raggett" <email@example.com> writes: > 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. Translating a source document byte count to a position in the parsed document isn't always easy. Wouldn't some HyTime-ish way of addressing a highligthed element in the document tree be easier to deal with? Or, not to be limited to element boundaries: you could identify the container element this way, and then just give the byte offset for start and stop in the content of the element. Just a thought.