Sabrina has created an xml vocabulary containing


Assignment: XML Authoring

Must look lsimilar to screenshots

Each department at Austin Technical College must maintain information on the associate's degrees it offers; each associate's degree must be approved by a college authority. Sabrina has created an XML vocabulary containing information about the different degrees offered by the Information Technology department. She wants you to create a schema to validate the degree information. Figure 3-38 shows the structures of the degrees vocabulary that you'll create.

Sabrina already created a document containing a list of degrees currently offered by the Information Technology department. She wants the document validated based on a schema you create. Complete the following:

1. Using your XML editor, open the degreestxt.xml and degreestxt.xsd ?les from the xml03, review folder, enter your name and today's date in the comment section of each ?le, and then save the ?les as degrees.xml and degrees.xsd , respectively.

2. In the degrees.xsd ?le, add the root schema element to the document and declare the XML Schema namespace using the xs pre?x, and then save your work.

3. In the degrees.xml ?le, attach the schema ?le 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 ?le, 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 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 , 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 attributes- degreeID and degreeCode . The degreeID attribute contains idType data, 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.

7. Save your changes to the degrees.xsd ?le, and then validate the schema document. Correct any errors you ?nd.

8. Validate the degrees.xml ?le against the schema document you created. Correct any validation errors you discover in the instance document.

degreestxt.xml document

Information Technology-Mobile Programmer

2019-01-12
2019-09-01

This two-year program meets the specific skill and knowledge requirements of technical and professional jobs within the information technology field for an entry-level mobile programmer working in a small to medium size organization. Training blends general educational development with required IT technical skills. Emphasis is in mobile web and application development.

Janis Wu
Janis Wu contacted regards heads up on approval. Official paperwork is being sent
Janis Wu assigned as coordinator
Application draft submitted

Information Technology-Software Programmer

2017-12-12
2018-09-01

This two-year program meets the specific skill and knowledge requirements of technical and professional jobs within the information technology field for an entry-level software programmer. Training meets the educational needs for most segments of the IT field, which primarily utilize small to midsize computers in conjunction with web and server applications. Emphasis is in LAMP and object-oriented languages.

Taylor Wapner

Updates are being sent for approval

Taylor Wapner assigned as coordinator

Phil Bean contacted regards heads up on approval. Official paperwork is being sent

Phil Bean assigned as coordinator

Application draft submitted

Information Technology-Web Programmer/Analyst

2017-12-12
2018-09-01

The Web Programmer/Analyst program meets the specific skill and knowledge requirements of technical and professional jobs within the information technology field for an entry-level Web analyst/programmer. It is designed to meet entry-level educational needs of most segments of the IT field which utilize a variety of computers. Training blends general educational development and required IT technical skills. Graduates are prepared for entry-level web developer jobs in government, insurance, manufacturing, service, software development, wholesale and retail sales, utilities, banking, and accounting.

Christiana Sanchez

Christiana Sanchez assigned as coordinator

Taylor Wapner contact regards heads up on approval. Official paperwork is being sent

Taylor Wapner assigned as coordinator

Application draft submitted

degreestxt.xsd


.

Attachment:- Figure.rar

Solution Preview :

Prepared by a verified Expert
: Sabrina has created an xml vocabulary containing
Reference No:- TGS02308369

Now Priced at $60 (50% Discount)

Recommended (97%)

Rated (4.9/5)