You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Frank Jakop <fr...@jakop.de> on 2002/12/09 11:36:19 UTC
Help needed with XSModel
Hello there,
I'm trying to implement the example code, found on the Xerces FAQ page for grammar parsing, http://xml.apache.org/xerces2-j/faq-grammars.html#faq-5, "examining grammars".
When I access my XSModel, I can retrieve a named map with element declarations, but only the top-level-elements are listed. Can someone tell me, how to access these elements, which are located deeper in the hierarchy of the corresponding schema, i.e.:
[...]
<element name="net" ...>
<complexType>
<sequence>
<element name="page" ...>
<element name="subnet" ...>
</sequence>
</complexType>
</element>
[...]
How can I retrieve the XSObjects "page" or "subnet" using the XSModel and the associated methods? Any idea?
Thanks in advance
Frank Jakop
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org