Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to create an XSLT file that displays data from the movies.xml file. It needs to display each movie title on a separate line,

I need to create an XSLT file that displays data from the movies.xml file.

It needs to display each movie title on a separate line, sorted in ascending order by title.

I need to use the xsl:template, xsl:value-of, xsl:sort, and xsl:for-each statements and add attractive HTML formatting, using a table.

I need to use CSS style classes to control the background color, padding, alignment, fonts, and other details. It needs to display the id, title, director and year field as for each movie as columns in each table row and place a heading row in the first line of the table.

The part i have no idea how to do is use CSS style classes.

Bellow is what i have so far. the .xml with the list of movies and the .xslt for dislpaying it.

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

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

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

My Favorite Movies

My Favorite Movies

Movie ID Title Director Year

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

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

Students also viewed these Databases questions