aspose file tools*
The moose likes XML and Related Technologies and the fly likes Multiple Choice Tag inside Complex Type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Multiple Choice Tag inside Complex Type" Watch "Multiple Choice Tag inside Complex Type" New topic
Author

Multiple Choice Tag inside Complex Type

Ashish Soni
Greenhorn

Joined: May 25, 2008
Posts: 24
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple Choice Tag inside Complex Type