Question
Java Programming Problem (please type the code. thanks!): Hollywood likes to make remakes of movies. Unfortunately, this means our DVD collection may have duplicate titles
Java Programming Problem (please type the code. thanks!):
Hollywood likes to make remakes of movies. Unfortunately, this means our DVD collection may have duplicate titles of movies that were released in different years. We will use the dvd.xml and dvd.dtd presented in the commentary. To distinguish these remakes from the original, we will need to add a new field called release_year and modify the dvd.dtd accordingly. Afterwards, write an XML parser (either in DOM or StAX) that will count the number of movies released by decade. Add a few more DVD entries to our DVD collection XML file collection to verify your code works. Print the result with the following example XML format:
Note: Don't worry about writing a DTD for the summary XML file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started