|Re: How to traverse sequence / element within ComplexType [message #26223 is a reply to message #26185]
||Wed, 06 August 2003 11:36
Originally posted by: merks.ca.ibm.com|
I assume that declaring your inability to figure this out is your indirect
way of asking a question...
The result of XSDComplexTypeDefinition.getContentType may be either an
XSDSimpleTypeDefinition or an XSDParticle, depending on whether the
content type is simple or complex. The result of XSDParticle.getTerm may
be either an XSDModelGroup, an XSDElementDeclaration, or an XSDWildcard.
The result of XSDModelGroup.getParticles is a list of XSDParticles. I
think that's all you need to know to traverse the content type.
> I am not able figure out how to traverse sequence and elements defined
> within complex type.
Powered by FUDForum
. Page generated in 0.01735 seconds