You can use SAX2's LexicalHandler.  See the SAX2 directory under c/src.

Dave



                                                                                       
                        
                    "Alfredo                                                           
                        
                    Mu?oz"                To:     <[EMAIL PROTECTED]>        
                        
                    <amunoz@eversy        cc:     (bcc: David N Bertoni/CAM/Lotus)     
                        
                    stems.com>            Subject:     Getting DOCTYPE information 
using SAX interface         
                                                                                       
                        
                    04/28/2001                                                         
                        
                    11:06 PM                                                           
                        
                    Please respond                                                     
                        
                    to                                                                 
                        
                    xerces-c-dev                                                       
                        
                                                                                       
                        
                                                                                       
                        






HI everybody.
When using the SAX interface,  there is a way to get the information in the
DOCTYPE declaration ?

In the example below:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE RootElement SYSTEM "myDTD.dtd">
<RootElement>
........
</RootElement>

How I get the name after DOCTYPE (RootElement) and the name after SYSTEM
(the external DTD name "myDTD.dtd")
Many thanks

Alfredo








---------------------------------------------------------------------
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