• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Schema DesignXSD) for studentsList elemeny

 
Ranch Hand
Posts: 1491
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the studentsList. Each student is assigned to particular department. Each department has one or
more courses. Each course has course fee.

<xs:element ref="studentsList" maxOccurs="unbounded"/>


<xs:element name="studentsList" type="studentsList">
<xs:sequence>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="surName" type="xs:string"/>
<xs:element ref="departmentList" maxOccurs="unbounded">
<xs:sequence>
</xs:element>




<xs:element name="departmentList"
><xs:sequence>
<xs:element name="departmentName" type="xs:string"/>
<xs:element ref="courseList" maxOccurs="unbounded"/>
<xs:sequence>
</xs:element>



<xs:complexType name="courseList">
<xs:sequence>
<xs:element name="courseName" maxOccurs="unbounded"/>
<xs:element name="courseFee" type="xs:decimal"/>
<xs:sequence>

</complexType>
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

kri shan wrote:In the studentsList. Each student is assigned to particular department. Each department has one or
more courses. Each course has course fee.


So what's the question?

(And please use code tags while posting logs, xml or code. With over a 1000 posts against your name, I guess you should be knowing by now, how to make things easier for someone who's trying to help you).

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic