Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need to create an XSLT to display a list of Movies in Movies.XML shown below. I need to use a template for all output

I need to create an XSLT to display a list of Movies in "Movies.XML" shown below.

I need to use a template for all output related to a single movie. The resulting HTML should look like the screen shot below but for some reason I keep getting my output in a strange repetitive pattern.

image text in transcribed

I attached what I have so far. If someone could show me what I'm doing wring I would greatly appreciate it.

---------------------XML list of Movies--------------------

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 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

---------------------XSLT to Display Movies--------------------

My Favorite Movies Movie ID Title Director 456789123 12 Years a Slave Steve McQueen 2013 1123456711 Ace Ventura: Pet Detective Tom Shadyac 1994 678912345Artificial Intelligence: A.I.Steven Spielberg 2001 Christopher Nolan 2010 Jon Favreau2008 George Miller 2015 2004 Barry Sonnenfeld1997 Guillermo del Toro 2006 Quentin Tarantino 1994 2007 M. Night Shyamalan 2002 Hayao Miyazaki2001 Roman Polanski 2002 Andrew Stanton2008 Inception 567891234 1234567812 1324567813 1423567814 102345610 234567891 1523467815 891234567 912345678 123456789 789123456 345678912 Mad Max: Fury Road Man on Fire Men in Black Pan's Labyrinth Pulp Fiction Ratatouille Tony Scot Brad Bird Spirited Away The Pianist WALL-E

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

Object Oriented Databases Prentice Hall International Series In Computer Science

Authors: John G. Hughes

1st Edition

0136298745, 978-0136298748

More Books

Students also viewed these Databases questions

Question

Describe how developing a common social identity reduces prejudice.

Answered: 1 week ago

Question

6. Explain the strengths of a dialectical approach.

Answered: 1 week ago