Use a SAX2 parser and create your own Node and Element classes from the
parsing events.  That's close to how Xerces-C does it.

Dave



                                                                                       
                                                             
                      "Agrawal, Vikas                                                  
                                                             
                      (ELS)"                   To:      "'[EMAIL PROTECTED]'" <[EMAIL 
PROTECTED]>                               
                      <[EMAIL PROTECTED]         cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                        
                      ier.co.uk>               Subject: How to integrate xml4c C++ 
library with our application                                     
                                                                                       
                                                             
                      08/28/2003 10:11                                                 
                                                             
                      AM                                                               
                                                             
                      Please respond                                                   
                                                             
                      to xerces-c-dev                                                  
                                                             
                                                                                       
                                                             



Hi All,

We have got an application developed using James Clark sgml parser (sp). We
are using our own Node and Element class in our application. We now
recognize the need to use the xml4c parser, but we can not change our
application to use the DOMNode class instead of our Node class.

Could anybody suggest a way where xml4c objects returns user created Node
class pointer rather than DOMNode*? If this is not supported by xml4c then
could anybody suggest a design pattern (or some other solution) to make it
possible.

Thanks & Regards
Vikas Agrawal


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to