Re: Good News
- From: Ali Abdin <aliabdin aucegypt edu>
- To: Owen Taylor <otaylor redhat com>
- Cc: jfleck inkstain net, gnome-doc-list gnome org
- Subject: Re: Good News
- Date: Mon, 28 Aug 2000 19:14:04 +0300
* Owen Taylor (otaylor@redhat.com) wrote at 19:11 on 28/08/00:
>
> Ali Abdin <aliabdin@aucegypt.edu> writes:
>
> > … and — do not work. I do not know if they will work at all. We
> > can 'special case' them though and do something like:
> > if (g_strcasecmp (name, "hellip")
> > g_print ("...");
>
> Where do you expect the definitions to come from, thin air?
I was not thinking straight :) I was half asleep/tired when I wrote the mail
:)
> Basically, the definitions have to be somewhere, and it might
> as well be a table in your source code - just have a table
> in your source code that maps from entity to replacement text.
>
> You can initialize a hash table from the static table to
> avoid doing too many strcmps.
Yup - hash table would work beautifully for this :)
> BTW - it probably would be a good strategy to pass through
> unrecognized entities - many entities, including …
> are shared between Docbook and HTML.
Yeah - I was told this today by John Fleck. I tried … and — in
Netscape - they didn't render so I didn't think they were HTML entities. But
apparently they render in Mozilla.
We use gtkhtml right now which seems to be a bit too 'lightweight' for
gnome-db2html2.
Regards,
Ali
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]