expatpp C++ wrapper for expat - XML Parser Toolkit

Version 19990311 last tested with expat version 19990307

Copyright 1999 AD Software. Expatpp is subject to the Mozilla Public License Version 1.0.

Expatpp is an Original Work which works with Expat, Copyright (c) 1998, 1999 James Clark. See expat FAQ for more details on expat (and I hope I've got all this public license stuff correct).

The current production version of expat can be downloaded from ftp://ftp.jclark.com/pub/xml/expat.zip.

Our shell can be downloaded from ftp://ftp.highway1.com.au/pub/adsoftware/xml/

The directory samp_pp contains testexpat.c which is a plain expat demo for CodeWarrior copied from elements.c and modified to open a specified file rather than stdin and a CharacterDataHandler added. It also contains testexpatpp.cpp which is a C++ equivalent using expatpp.

The directory src_pp contains the XML parser object expatpp in two source files, built on top of the expat source. See the header file expatpp.h for instructions.

The directory xpcw contains a CodeWarrior Pro4 project to build a demo using testexpatpp.cpp. This project has been built with Apple's Universal Headers 3.2. Unlike earlier project stationery, the MacOS.lib file in the 68K target has been replaced with interface.o due to linker conflicts.

Sorry, I haven't yet had time to add Unix makefiles or Visual C++ projects. Contributions will be gratefully accepted and republished :-)

These projects expect the expat source directory to be added within the expatpp directory, ie:

expatpp
   expat
   expatpp.html
   samp_pp
   src_pp
   xpcw
   xpvc

When you run the sample, entering a filename such as simpleTable.xml will cause that file to be parsed and the results displayed on the console.

 

Andy Dent
Resident guru on too many damn platforms
A.D. Software
Perth, Western Australia