csci4131 Assignment : M Schema and SPath solved

$24.99

Original Work ?
Category: You will Instantly receive a download link for .ZIP solution file upon Payment

Description

5/5 - (1 vote)

Objective:
The goals of this assignment are to learn the following: M Schema Development
PART 1 ( 80 points:)
In this part, ou are ased to develop and M schema to describe a course catalog. The schema will have the following elements as described below:
Root element: will be courseCatalog, which will contain ero or more elements named course with contents of ourseTpe, as described below.
ourseTpe will have the following seuence of elements: 1. title one element of tpe string 2. instructor at least one or up to three elements of tpe instructorTpe, as described below 3. number eactl one element of tpe courseumberTpe as described below . schedule one element of tpe scheduleTpe, as described below . semester eactl one of the strings allSpringSummer . enrollment eactl one element containing integer value restricted to 0 to 100.
instructorTpe will have the following seuence of elements, and attributes firstname one element of tpe string lastname one element of tpe string One optional attribute called title of personTitle tpe, as described below.
personTitle will be an enumeration of two strings: Dr and Prof
courseumberTpe will be a string starting with two letters uppercase followed b four digits
scheduleTpe contain at least one or more elements of named lecture of DaTimeTpe. DaTimeTpe will be a subtpe of string and it will have one attribute da, this attribute will be restricted to strings: Mon Tue, ed, Th, ri The string value DateTimeTpe would be restricted to the following form :MM:MM. or eample: schedule lecture da Tue10:3011:30lecture lecture da Th10:3011:30lecture
4/2/12 Sci 131 Adanced nternet rg
2/2www-users.cselabs.umn.edu/classes/Spring-2012/csci4131/Assignments//Assignment.html
schedule
Important Change: ote that we have removed the reuirement to include the BookType in our schema. The CourseTpe will not contain tetoo elements.
You can use any of the following links to validate your schema: http://www.w3.org/2001/03/webdata/xsv http://www.validome.org/
See these instance examples which should be validated by your schema.
PART 2 (20 points):
In this part of the assignment ou will write an S stle file with Path commands to be applied to a course.
The S stlesheet will print in a tabular form the following information from a course catalog file conforming to the schema described above: Course number Course Title enrollment
The table rows will have courses listed in the ascending alphabetical order.
After printing the table, the stlesheet would print the sum of the enrollment count for all the courses.
Items to Submit:
1. SD file defining the schema which MST be named CourseCatalog.xsd 2. S stlesheet file which must be named Catlog.xsl