Question: 2. In the degrees.xsd file, the root schema element to the document and declare the XML Schema namespace using the xs prefix, and then save


2. In the degrees.xsd file, the root schema element to the document and declare the XML Schema namespace using the xs prefix, and then save your work. 3. In the degrees.xml file, attach the schema file degrees.xsd to this instance document, indicating that the schema and instance document do not belong to any namespace, and then save your work. 4. In the degrees.xsd file, create the following named simple types: a. idType, based on the ID data type and restricted to the regular expression pattern b. codeType, based on the string data type and restricted to the following values MP, SP, WPA 5. Declare the degrees element containing the child element degree. 6. Declare the degree element containing the following sequence of nested child elements title, approvalDate, effective Date, 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 attributes degreeID and degreeCode. The degreeID attribute contains idType data, while the degreecode attribute contains code rype 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
