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 Edward Zarecor <ed...@harvard.edu> on 2002/08/02 20:36:52 UTC

Walking a schema

I'm looking for the mechanism for getting back a list of top-level elements
from an XSModel without knowing the name of the element[s] in advance.
Currently I only see:

 XSElementDeclaration  getElementDecl(java.lang.String name,
java.lang.String namespace)

This works fine for known schemas, but I'd like to be able to discover
elements in an arbitrary schema.  Is this possible?

Thanks.

Ed.



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org