Question
Create a well formed XML, and DTD documents used to represent courses in a university. The university has numerous courses including but not limited to
Create a well formed XML, and DTD documents used to represent courses in a university. The university has numerous courses including but not limited to Computer Science, Math, Accounting, and Biology. The required information stored on each course is: start-date, description, teacher, location, book and the students attending the class. Each course has a unique id and type attribute. The type attribute defines what department the course is in (i.e. Computer Science, Math, Accounting, and Biology). The teacher has a unique id to identify who the teacher is. The teacher contains information including firstname, lastname, email, phone and office location. The email is optional but can occur only once, while phone can appear numerous times per teacher but must appear at least once. Each course location is in one of three buildings (VIN, DUNL, or DPL) and is on a certain floor (1 4). The course may actually be in more than one building or be on different floors. Each course may have zero students registered or up to 24 students registered. The information stored on student is the students name, email address and student id number. The startdate of the course contains month, day, and year. The course description stores the catalog statement (description of the course) and has an option attribute of required. The attribute of required can only contain the values yes or no. Create a CSS file that outlines the XML document previously created. You are not limited to using the styles that are listed below and are actually encouraged to be creative in your design. The XML document should turn out looking like an outline. The course name should be to the far left margin (larger in size than the other text, change in color, and be in bold). All other child elements to course should be indented from the left margin. All grandchildren elements should de indented even further from the left margin than the child elements. The book and location elements should have different styles (color, style, font, etc) from the rest of the elements. The child elements of teacher and start-date should also have their own styles. Each course should be separated by a line (____________________________ ). A minimum of four examples should be used in the XML document.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started