Groups
Groups
Sign in
Groups
Groups
XML Schema
Conversations
About
Send feedback
Help
sequence inside a choice
2 views
Skip to first unread message
Ryan
unread,
Jun 19, 2008, 3:59:31 AM
6/19/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to XML Schema
Is it legal to have something like:
<xs:complexType name="transaction">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="account_login"
type="login_data" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="create_id"
type="tbl_iv" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="org_create"
type="org" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:choice>
</xs:complexType>
Notice how there is a sequence inside a choice and nothing else.
Also, what do the minOccurs/maxOccurs modifiers do on the choice and
sequence grouping?
Reply all
Reply to author
Forward
0 new messages