From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Thu Oct 26 2000 - 10:13:21 EDT
On Wed, Oct 25, 2000 at 08:00:04PM -0500, F. David Sacerdoti wrote:
> Since I dont know how many grids there will be I need to create this DTD
> on the fly. Are there any examples of this? I see 'xmlAddDtdEntity' and
> 'xmlDumpEntityDecl', but no way to add an entity to an EntitiesTable.
yes you should use xmlAddDtdEntity()
entities tables are opaques objects, you should not manipulate them
directly.
There isn't any specific example, it is usually directly called
by the SAX callback when an entity has been detected. look at
entityDecl() in SAX.c
Daniel
-- Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes | libxml Gnome XML toolkit Tel : +33 476 615 257 | 655, avenue de l'Europe | http://xmlsoft.org/ Fax : +33 476 615 207 | 38330 Montbonnot FRANCE | Rpmfind search site http://www.w3.org/People/all#veillard%40w3.org | http://rpmfind.net/ ---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Thu Oct 26 2000 - 10:43:49 EDT