Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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. Each comment element requires a date attribute of the date data type.

Please show finished code.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago