Skip to main content



      Home
Home » Archived » XML Schema Definition (XSD) » How to traverse sequence / element within ComplexType
How to traverse sequence / element within ComplexType [message #26185] Tue, 05 August 2003 13:30 Go to next message
Eclipse UserFriend
Originally posted by: skapur.csc.com

I am not able figure out how to traverse sequence and elements defined
within complex type.
Re: How to traverse sequence / element within ComplexType [message #26223 is a reply to message #26185] Wed, 06 August 2003 07:36 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Sarit,

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.


Sarit wrote:

> I am not able figure out how to traverse sequence and elements defined
> within complex type.
Re: How to traverse sequence / element within ComplexType [message #575715 is a reply to message #26185] Wed, 06 August 2003 07:36 Go to previous message
Eclipse UserFriend
Sarit,

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.


Sarit wrote:

> I am not able figure out how to traverse sequence and elements defined
> within complex type.
Previous Topic:How to traverse sequence / element within ComplexType
Next Topic:HexBinary Type Validation bug
Goto Forum:
  


Current Time: Thu Jul 03 20:46:38 EDT 2025

Powered by FUDForum. Page generated in 0.05054 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top