Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

COP4814 Assignment 2 (60 Points in total) Step 1 - Selectively Displaying Movies (20 points) Continue the XSLT you wrote for Assignment 1 by doing...

COP4814 Assignment 2 (60 Points in total)

Step 1 - Selectively Displaying Movies (20 points)

Continue the XSLT you wrote for Assignment 1 by doing the following: There must be

two tables: (1) Only movies made before 2005, and (2) Movies made from 2005 onward.

In each table, Display the list of genres in a single cell as a comma-delimited list.

However, in the XML file, each of the genres for each movie must be in a separate

element. I expect that most movies contain multiple genres, so please fix your XML file if

necessary.

Step 2 - Displaying a List of Directors for each table (10 points)

Append a bulleted list of directors below each of the existing tables. The names should

be sorted, but you may list duplicate names. (Omitting duplicates in a list is an advanced

technique, which you can read about online.)

Step 3 - Add a footer row to each Table (10 points)

Add a footer row to each table that says "Number of movies", followed by a count of the

number of movies in the XML file for that table. Your XSLT code must use an XPath

function to calculate this value--do not calculate the value manually.

Step 4 - Adding Hyperlinks to Movie Titles (15 points)

In each movie table, add a hyperlink to each movie title for movies containing a uri

element. (Recall that you were asked to omit the uri element for three of the movies

when you created the XML file.) If no uri exists for a movie, just display the title with no

hyperlink. Create a template for the title field before you begin to make other changes.

Submit a single zip file named FirstnameLastnameA2.zip containing both of your files with no

other files or folders. I will test using Interent Explorer so make sure it will work in that browser.

When I open the zip file I should see the following files:

1. movies.xml

2. movies.xslt.

There should be no other files or folders even if you are a Mac User. (5 points)

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question