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

HText HTML element callbacks

From: Rick Kwan <kenobi@coruscant.lightsaber.com>
Date: Mon, 21 Jun 1999 19:45:52 -0700
Message-Id: <199906220245.TAA02755@coruscant.lightsaber.com>
To: www-lib@w3.org
I am finally back to looking at the HText interface, particularly
the usage of the callbacks.

In looking at the callbacks for handling HTML elements,
HText_beginElement() and HText_endElement(), they appear to be
a means for providing counterparts to HTML_start_element() and
HTML_end_element() in HTML.c.  But these two routines are invoked
by way of
    SGML_write() calls start_element() calls HTML_start_element()
    SGML_write() calls end_element() calls HTML_end_element()
Thus, to get at these by way of callbacks, I would have to provide
my own customized SGML.c as well.

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 Kwan
Received on Monday, 21 June 1999 22:21:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:49 UTC