Question
Create a XSD schema document for the XML below in which the conditions described below: Field Name: Data definition. Gnumber: A string starting with letter
Create a XSD schema document for the XML below in which the conditions described below:
Field Name: Data definition.
Gnumber: A string starting with letter G and followed by 8 digits for example G12345678.
Residence status: Can be either "In-state" or "Out-of-state"
First name: A string of letters or hyphen of length less than 20 (no other chars is allowed)
Middle initial: Can be 1 letter or empty
Last name: A string of letters or hyphen of length less than 20 (no other chars is allowed)
Student DOB: Between 01/01/1970 and 12/31/2000 inclusive
Program name: Can be one of the following choices: MS Health Informatics, Graduate Certificate in Health Informatics, MS Health Management, MS Senior Living, PhD in Health Services Research
Concentration: Optional element. For MS Health Informatics program has two possible concentrations: Data analytics and Information Management.
Start year: Between 2014 and 2017 inclusive.
Course: For each student, the number of courses taken should not exceed 15. Each course is described with the following data: department code, catalog number, semester, year, and letter grade. All the information must be present.
Department: Can be one of the following values: HAP, NURS, NUTR, MATH, INFS, STAT, SWE, ECON and EPID.
Catalog number: A number between 500 and 999
Semester: Can be one of three values: Spring, Summer, Fall
Year: A number between 2014 and 2017 inclusive
Letter grade: Can be one of the following: A+, A, A-, B+,B, B-, C, F and INCOMP
-- XML --
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started