Hello: I've read in an xml schema inside my wsdl using the SchemaReader and have a Castor ComplexType object. Inside the ComplexType are many xsd:elements which I can retrieve with an ElementDecl.

However, the parent of these xsd:elements is an xsd:choice and I would like to inspect the ComplexType object to find out if the "choice" tag is present. Is there a method I can call on the ComplexType object to find this "choice" information?

Below is a portion of the schema:

<xsd:complexType name="ContentWrapper">
  <xsd:choice>
    <xsd:element name="contentList" type="cms:ContentList"/>
    <xsd:element name="game" type="cms:Game"/>
    <xsd:element name="gameDetail" type="cms:GameDetail"/>
   </xsd:choice>
</xsd:complexType>

_________________________________________________________________
Watch free concerts with Pink, Rod Stewart, Oasis and more. Visit MSN In Concert today. http://music.msn.com/presents?icid=ncmsnpresentstagline


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to