[xml] Using xmlSAXHandler
- From: Raghu Sampath <anirabh yahoo com>
- To: xml gnome org
- Subject: [xml] Using xmlSAXHandler
- Date: Thu, 4 Apr 2002 07:44:36 -0800 (PST)
Hi,
I would like to use the xmlSAXHandler of the libxml2
package. I am not sure of how to override the
xmlSAXHandler class. Here's a sample of the code,
struct XMLSAXHandler : public xmlSAXHandler
{
void startDocument(void * user_data)
{
cout<<"this is the start of the document"<<endl;
}
void endDocument(void * user_data)
{
cout<<"This is the end of the document"<<endl;
}
}
Can you provide me with some sample code? How do the
startDocument and endDocument callbacks work?
Thank you.
Bhooma
__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]