Re: Good News
- From: Owen Taylor <otaylor redhat com>
- To: Ali Abdin <aliabdin aucegypt edu>
- Cc: jfleck inkstain net, gnome-doc-list gnome org
- Subject: Re: Good News
- Date: 27 Aug 2000 19:17:40 -0400
Ali Abdin <email@example.com> 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?
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.
BTW - it probably would be a good strategy to pass through
unrecognized entities - many entities, including …
are shared between Docbook and HTML.
] [Thread Prev