Question: 1.Using your XML editor create an xsd schema file 2.In the file, add the root schema element to the document and declare the XML Schema

1.Using your XML editor create an xsd schema file

2.In the file, add the root schema element to the document and declare the XML Schema namespace using the xs prefix

3.In the file, create the following named simple types: a.idType, based on the ID data type and restricted to the regular expression pattern IT\d{2}-\d{3}-\d{3}b.codeType, based on the string data type and restricted to the following valuesMP, SP, WPA

4.Declare the degrees element containing the child element degree.

5.Declare the degree element containing the following sequence of nested child elementstitle, approvalDate, effectiveDate, summary, coordinator, and comment. Set the following properties for the nested elements: a.All of the child elements should contain string data except the approvalDate and effectiveDate elements, which contain dates. The degree element should also support two required attributesdegreeID and degreeCode. The degreeID attribute contains idTypedata, while the degreeCode attribute contains codeType data. b.The degree element must occur at least once, but its upper limit is unbounded. The approvalDate element is optional. The comment element is optional, and it may occur multiple times. All other elements are assumed to occur only once.c.Each comment element requires a date attribute of the date data type.

Please provide me with the final code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!