|
Parsing Using SAX: msg#00047text.xml.xerces-c.user
Hi, Ive finally started to get going using Sax. Now im using the Samples to help coding my own project. Looking at Sax Count, they seem to have created their own handler class (saxcounthandler): SAXCountHandlers handler; parser->setDocumentHandler(&handler); parser->setErrorHandler(&handler); How can they do this as The type needed in setDocumentHandler needs to be type DocumentHandler. When I try to use my custom class as a handler, it gives an error...what is special about the SaxCountHandlers..? Ive used pointers,. they have dereferenced an object, surely im doing the same thing? Many Thanks Alex p.s: Also by DocumentHandler, what does this do exactly. Im thinking its the controller for the parsing. I.e you can use the parsed data to modify the handler and visa-versa -- View this message in context: http://www.nabble.com/Parsing-Using-SAX-tf2835675.html#a7916807 Sent from the Xerces - C - Users mailing list archive at Nabble.com. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Was it something I said? (was: proper way to use Xerces for what I'm trying to do): 00047, Will Sappington |
|---|---|
| Next by Date: | Re: Parsing Using SAX: 00047, appleGuy |
| Previous by Thread: | Was it something I said? (was: proper way to use Xerces for what I'm trying to do)i: 00047, Will Sappington |
| Next by Thread: | Re: Parsing Using SAX: 00047, appleGuy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |