Click to See Complete Forum and Search --> : Urgent : Pure C++, no DLL


amitreddy
November 20th, 2003, 02:16 AM
Hi,

Iam new to using C++ for XML parsing, Iam using Xerces C++, the problem is that Iam able to achieve my requirments using the Xerces Dll. But I want to use only pure C++ code and no Dll, Iam not able to understand how to do this ie which file are to be included, I just need to use SAX2 parser thats it. Kindly guide me.

Regards

Amit Reddy

khp
November 20th, 2003, 03:39 AM
SAX is not part of the C++ standard library.
If you want a sax parser, you have to get an implementation form somewhere, like Xeres or Crimson.
If you want to use only the C++ standard library, you are stuck with a simple filestream reader.

amitreddy
November 20th, 2003, 05:04 AM
Hi Khp,
I have no problem using Xerces, thats what Iam using but I dont understand how to use the Source version Of Xerces and dont want to use the binary one. Can you tell me how to get the SAX2 implementation running.

Regards

Amit

khp
November 20th, 2003, 03:44 PM
You will have to read the xerces build instructions and figure out, how to make a static lib, that can be compiled into your program, I'am not sure if there are any detailed instructions on this. Futher more you will probably have to check the apache licence agreement, to check if it's OK to do this.