[Home] [By Thread] [By Date] [Recent Entries]



> I have an XML file which has a DTD (that I don't want to read) and 
> another external set of decls ref'ed from the internal subset, which 
> contains some entity declarations that I do need).  This is in C code. 
> I'm plowing through the expat docs and the write-up on things like 
> XML_SetExternalEntityHandler is giving me a headache.  I'm sure I can 
> figure it out, but are there some implementations out there to look at 
> and make this go quicker?

The expat distribution comes with the xmlwf tool (+ source code).
Have a look at xmlfile.c, specifically at function XML_ProcessFile
and the handlers that are set there.

Karl


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member