Hello to XML-c-dev mailing list !
I've tried to use a sample code found here (below you could find the
original thread :
http://www.mail-archive.com/[EMAIL PROTECTED]/msg08148.html
)to do the same thing as Thomas wanted to do in this thread.
Unfortunately i cannot make it work and i get this answer.
Here's the answer of my compiler (gcc-3.3) :
/home/.../src/xerces-c-src_2_5_0/samples/SAXPrint/SAXPrintHandlers.cpp:
In
constructor `SAXPrintHandlers::SAXPrintHandlers(const char*,
xercesc_2_5::XMLFormatter::UnRepFlags)':
/home/.../src/xerces-c-src_2_5_0/samples/SAXPrint/SAXPrintHandlers.cpp:189: error: no
base or member initializers given following ':'
/home/.../src/xerces-c-src_2_5_0/include/xercesc/framework/XMLFormatter.hpp:449:
error: `
xercesc_2_5::XMLFormatter::XMLFormatter()' is private
/home/.../src/xerces-c-src_2_5_0/samples/SAXPrint/SAXPrintHandlers.cpp:189: error:
within
this context
/home/.../src/xerces-c-src_2_5_0/samples/SAXPrint/SAXPrintHandlers.cpp:190: error:
parse
error before `(' token
/home/.../src/xerces-c-src_2_5_0/samples/SAXPrint/SAXPrintHandlers.cpp:198: error: no
match for call to `(xercesc_2_5::XMLFormatter) (const char* const&,
xercesc_2_5::XMLFormatTarget*&,
xercesc_2_5::XMLFormatter::EscapeFlags,
const xercesc_2_5::XMLFormatter::UnRepFlags&)'
/home/.../src/xerces-c-src_2_5_0/samples/SAXPrint/SAXPrintHandlers.cpp:199: error:
parse
error before `:' token
make: ***
[/home/.../src/xerces-c-src_2_5_0/bin/obj/SAXPrint/SAXPrintHandlers.o]
Error 1
Could you tell me what's wrong? I'm neither a good programmer nor good
in Xerces as well so I'll try to understand your answer.
If you know any other method to write in a XML file from SAX please tell
me !!
Regards,
Olivier Caignart
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]