Obtaining grammar instance 2003-01-13 - By sandygao@(protected)
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 sandygao@(protected)
Slava Pestov <slava@(protected)> To: Xerces users <xerces-j -user@(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 <slava@(protected)>
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
--------------------------------------------------------------------- To unsubscribe, e-mail: xerces-j-user-unsubscribe@(protected) For additional commands, e-mail: xerces-j-user-help@(protected)
|
|