Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple Choice Tag inside Complex Type

 
Ashish Soni
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

Just wanted to know if below XSD is valid or not.

<xs:complexType name="ComplexType1">
<xs:choice>
<xs:element name="ele1" type="xs:string" minOccurs="0" />
<xs:element name="ele2" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
<xs:choice>
<xs:element name="ele3" type="xs:string" minOccurs="0" />
<xs:element name="ele4" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>

</xs:complexType>

Please help
Regards,
Ashish
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic