Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Extend your XML representation of movies in three ways: a. The director of a movie is now more than a name, it's a complex

1. Extend your XML representation of movies in three ways: a. The director of a movie is now more than a name, it's a complex type with two subelements: The name (as before) and birthdate (find a good type!) b. Movies are getting some more properties: A movie also has a title which is a string, run time in minutes (an integer) a production company (film studio) which is also a string c. Movies are collected in a playlist element, pretty much like the library in the DVD example.

2. Develop an XML Schema that captures this new structure (15 pt) 3. Create one XML document (playist.xml) that contains at least three different movies. This file should validate against the schema you created under point 2 (15) 4. Create two variants of playlist.xml that each contain one validation error of your choice these errors must be different. (10 each = 20). 5. Create an XSLT file to display playlist.xml in a browser. (45) Display the title as a header (5) Display the year, runtime and production company (10) Display the link to the IMDB page by using the imdbRef entry an an anchor (5) Display the name/birthdate of the director (5) Display the two scores with appropriate descriptions (5) Display the keywords all in one line (3) or an an unordered list (5) Include a CSS into your display (cf. library.xsl and libhtml.css) (10)

6. Zip the whole NetBeans project together:

3 XML files (gallery.xml and two non-validating variants) 1 XSLT file gallery.xsl 1 CSS file to display the HTML output

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

MySQL Crash Course A Hands On Introduction To Database Development

Authors: Rick Silva

1st Edition

1718503008, 978-1718503007

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago