|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Sample expat code for reading entities?
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








