Sandy Gao stated in a previous thread that the two methods of getting at the information from XSModel are:
Preparsing
PSVI
I can't preparse and cache the grammar, since I don't know until I open and parse the document what schema will be referenced.
PSVI only seems to give me information back about elements that exist in the document instance. It won't tell me anything about elements that exist in the schema but aren't in the particular document instance I've parsed.
The FAQ on Caching and Preparsing Grammars has a note at the bottom hinting at what I want to do. However, it has the statement "Assuming you have produced a Grammar object from an XML Schema document by some means, ...". Is there some reason this doesn't explicitly state how that is supposed to happen.
I've gone down lots of dead ends trying to find a way to get the Grammar object from a document (or the DOMBuilder that parses the URI and creates the document). Can someone point me in the right direction?
Mark Brucks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
