| Choice within a sequence [message #598460] |
Wed, 26 July 2006 11:58 |
Stuart Stephen Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Hi,
I am trying to work out how I can use emf xsd to create the following
snippet of XML. I just cannot work it out at the moment.
<xs:element name="itemName">
<xs:complexType>
<xs:sequence>
<xs:element name="ref"/>
<xs:choice>
<xs:element name="a"/>
<xs:element name="b"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
Everything is fine until I try to create choice part. How can I add a
choice to the sequence using the Java API?
Thanks,
Stuart
|
|
|
Powered by
FUDForum. Page generated in 0.01540 seconds