Although there is no standard API to access the grammar yet, Xerces does
have a grammar object you can access to figure this out.
See srg/org/apache/xerces/validators/common/Grammar.java
Using it will require getting acquainted to some of the internals of
Xerces though (in particular the infamous StringPool ;-).

In the future (hopefully fairly close now) we'll support the DOM Level 3
Content Model which will provide you with a standard API to access it.
See http://www.w3.org/TR/DOM-Level-3-CMLS/
-- 
Arnaud  Le Hors - IBM Cupertino, XML Strategy Group

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to