Question: Using the movies.xml shown below I need to create an xslt to show two tables; (1) Only movies made before 2005, and (2) Movies made

Using the movies.xml shown below I need to create an xslt to show two tables; (1) Only movies made before 2005, and (2) Movies made from 2005 onward.

In each table, I have to display the list of genres in a single cell as a comma-delimited list.

I also need to append a bulleted list of directors below each of the existing tables. The names should be sorted, but may list duplicate names.

I need to 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.

In each movie table, I need to add a hyperlink to each movie title for movies containing a uri element.

---------------------------------------------------------------------------------------------------

123456789 Spirited Away Hayao Miyazaki 2001 Animation Adventure Family http://www.imdb.com/title/tt0245429/

234567891 Pan's Labyrinth Guillermo del Toro 2006 Drama Fantasy War http://www.imdb.com/title/tt0457430/?ref_=nv_sr_1

345678912 WALL-E Andrew Stanton 2008 Animation Adventure Family http://www.imdb.com/title/tt0910970/?ref_=nv_sr_1

456789123 12 Years a Slave Steve McQueen 2013 Biography Drama History http://www.imdb.com/title/tt2024544/

567891234 Inception Christopher Nolan 2010 Action Adventure Sci-Fi http://www.imdb.com/title/tt1375666/

678912345 Artificial Intelligence: A.I. Steven Spielberg 2001 Adventure Drama Sci-Fi http://www.imdb.com/title/tt0212720/

789123456 The Pianist Roman Polanski 2002 Biography Drama Music http://www.imdb.com/title/tt0253474/

891234567 Ratatouille Brad Bird 2007 Animation Comedy Family http://www.imdb.com/title/tt0382932/

912345678 Signs M. Night Shyamalan 2002 Drama Mystery Sci-Fi http://www.imdb.com/title/tt0286106/?ref_=nv_sr_1

102345610 Men in Black Barry Sonnenfeld 1997 Adventure Comedy Family http://www.imdb.com/title/tt0119654/?ref_=nv_sr_2

1123456711 Ace Ventura: Pet Detective Tom Shadyac 1994 Comedy http://www.imdb.com/title/tt0109040/?ref_=nv_sr_1

1234567812 Iron Man Jon Favreau 2008 Action Adventure Sci-Fi http://www.imdb.com/title/tt0371746/?ref_=nv_sr_2

1324567813 Mad Max: Fury Road George Miller 2015 Action Adventure Sci-Fi http://www.imdb.com/title/tt1392190/

1423567814 Man on Fire Tony Scott 2004 Action Crime Drama http://www.imdb.com/title/tt0328107/?ref_=nv_sr_1

1523467815 Pulp Fiction Quentin Tarantino 1994 Crime Drama http://www.imdb.com/title/tt0110912/?ref_=nv_sr_1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!