Defining 2 xml elements with same name but different types.

7 views
Skip to first unread message

adilfulara

unread,
Aug 27, 2008, 2:40:15 PM8/27/08
to XML Schema
Hi,

I would like to achieve the following

<xs:choice>
<xs:element name = "B" type = "TypeB1"/>
<xs:element name = "B" type = "TypeB2"/>
<xs:choice>


I was not able to create this since xmlbeans complains.

Kindly help.

Thank you,

~Adil.
Reply all
Reply to author
Forward
0 new messages