5f5 Subj : Re: XML To : borland.public.cpp.borlandcpp From : "MarvinAvery" Date : Mon Oct 27 2003 09:25 am "Regis St-Gelais" wrote in message news:3f995dd0$1@newsgroups.borland.com... > > > Hi Marvin, > > I have an OwlNext project (BC++5.02 + BCC55 + Tools55) that use xml files > but XML support is not comming from OwlNext. > I use Expat 1.95.7 to read the XML files. > It is evenement oriented. > For exemple: data calls 3 event handler, ElementStart handler > for , CaractereData handler for data and ElementEnd handler for > > It has a lot of functions, but most simple xml file can be parsed using 4 ou > 5 of the lib functions. > > For writing I simply create the text file by code. > > Expat is a library (static or dynamic, you have the choice) that you include > in your project. > It comes as a set of source file that can be build with the free command > line compiler (BCC55) from borland. > > You can find it at: http://expat.sourceforge.net/ I can't use Expat as I am not using BCC55 or OWLNext (yet). Also, since 99% of the time I will just be creating and writing an XML file, it seems to me that you are recommending that I write my own code. Whenever I will need to read an XML file, it will just be to scan to the closing document tag so I will be able to insert more stuff. Marvin --------------------------------- Marvin Avery marvin.avery@hrdc-drhc.gc.ca . 0