ComplexType restriction

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span lang="EN-GB <span lang="EN-GB How can I create a schema for a file that will allow many <item> elements but each item will have a different complexType? I need:
<span lang="EN-GB <span lang="EN-GB <item>
<span lang="EN-GB <span lang="EN-GB <itemName>A</itemName>
<span lang="EN-GB <span lang="EN-GB <something>here</something>
<span lang="EN-GB <span lang="EN-GB <somethingElse>there</somethingElse>
<span lang="EN-GB <span lang="EN-GB </item>
<span lang="EN-GB <span lang="EN-GB
<span lang="EN-GB <span lang="EN-GB <item>
<span lang="EN-GB <span lang="EN-GB <itemName>B</itemName>
<span lang="EN-GB <span lang="EN-GB <what>here</what>
<span lang="EN-GB <span lang="EN-GB <size>12</size>
<span lang="EN-GB <span lang="EN-GB </item>
<span lang="EN-GB <span lang="EN-GB <span lang="EN-GB <span lang="EN-GB
<span lang="EN-GB <span lang="EN-GB <item>
<span lang="EN-GB <span lang="EN-GB <itemName>C</itemName>
<span lang="EN-GB <span lang="EN-GB <nowt>125</nowt>
<span lang="EN-GB <span lang="EN-GB <span lang="EN-GB </item>
<span lang="EN-GB <span lang="EN-GB <span lang="EN-GB <span lang="EN-GB <span lang="EN-GB <span lang="EN-GB <span lang="EN-GB <span lang="EN-GB Where A,B,C are complexTypes Ive created??????????????????????????
<hr class="sig Cheers

View the full article
 
Back
Top