wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
 
Similar Threads
Webservice Design
XML schema fails to load
What is "NewDataSet" in XSD file?
namespace
Not quite getting how to allow any html element