> Well, > > I've been digging around a lot to understand what Xerces does and does > not allow and there seems to be some problem with Xerces here. If I > follow your tip and use the ContentSpecNode I end up in a dead end. I > can get the ContentSpec, but it doesn't do me much good, all that it > seems to allow is retrieving a "formatted content model", sometimes:
You might want to consider using the XSModel classes. The files are located in src/xercesc/framework/psvi, and you can get use a PSVIHandler to get information while parsing an instance document. You can also load a grammar into a parser, and ask it for the XSModel for that grammar. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]