I figured it out. C++ isn't my first language so I neglected to notice that XMLDocumentHandler is an Abstract class and all its members are pure virtual. I added a subclass to XMLDocumentHandler and created bodies for all of the inherited methods. Then instantiate the XMLDocumentHandler subclass and register it using SAXParser's installAdvDocHandler method. The docComment method defined in the XMLDocumentHandler subclass (my advanced handler)is now called.
Mike >From: "Mike Campbell" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Want to use XMLDocumentHandler::docComment >Date: Tue, 16 Apr 2002 16:21:28 -0500 > >Sorry this is basically a reiteration of an earlier message which I hope is >more specific. > >I'm trying to setup my own XMLDocumentHandler with the docComment method. >I'll then pass this XMLDocumentHandler subclass instance using the >installAdvDocHandler method of my SAXParser instance (at least that's the >way I think it should work). > >My goal is to intercept the comments during parsing. > >I've been through the FAQ and the entire mailing list and have not found >anything directly related to this. > >Really could use some help. Thanks in advance. > >Mike > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
