FAQ:
http://xml.apache.org/xerces2-j/faq-grammars.html

Interfaces:
org.apache.xerces.xni.grammars.XSGrammar
org.apache.xerces.impl.xs.psvi.XSModel

Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]



                                                                                
                                                       
                      Slava Pestov                                              
                                                       
                      <[EMAIL PROTECTED]>        To:       Xerces users <[EMAIL 
PROTECTED]>                                   
                                               cc:                              
                                                       
                      01/09/2003 10:21         Subject:  Obtaining grammar 
instance                                                    
                      PM                                                        
                                                       
                      Please respond to                                         
                                                       
                      xerces-j-user                                             
                                                       
                                                                                
                                                       
                                                                                
                                                       



Given a SAX parser, how do I obtain the Grammar instance of the parsed
schema (if there is one)? I want to use this to build element and entity
completion lists (or is there another way to get all declared elements
and entities when the file is validated against a schema?)
--
Slava Pestov <[EMAIL PROTECTED]>


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