W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1999

Re: HText HTML element callbacks

From: Rick Kwan <kenobi@lightsaber.com>
Date: Wed, 23 Jun 1999 12:38:34 -0700 (PDT)
To: www-lib@w3.org
Message-ID: <Pine.LNX.3.96.990623122744.6847A-100000@coruscant>
showtags.c is the right file.  Somehow, I forgot about that one.
Seems I misunderstood how HTML_start_element() works.  It calls
the callback; it is not replaced by it.  It still does essential
bookkeeping of links and stuff.

Very clever.  Now I understand.  (I think.)

--Rick Kwan

On Mon, 21 Jun 1999, Raffaele Sena wrote:

> >
> > Have I overlooked something?  It seems like it shouldn't be necessary
> > to rewrite SGML.c in order to get at the element callbacks.
> >
>     Rick,
>     you shouldn't need to rewrite SGML.c for just installing your callbacks.
>     Have a look at the example libwww/Library/Examples/showtags.c
>     (I'm not completely sure about the right filename, since I don't have
>     the sources at hand) to see how to put the HTML callbacks to use.
> -- Raffaele
Received on Wednesday, 23 June 1999 15:13:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT