Question: Write a DTD file that describes documents that contain information about countries: name of the country, its population, and its area. Create an XML file
Write a DTD file that describes documents that contain information about countries: name of the country, its population, and its area. Create an XML file that has five different countries. The DTD and XML should be in different files. Write a program that uses the XML file you wrote and prints:
• The country with the largest area.
• The country with the largest population.
• The country with the largest population density (people per square kilometer or per square mile).
Step by Step Solution
3.39 Rating (152 Votes )
There are 3 Steps involved in it
ToAnswering this question requires several steps creating a DTD Document Type Definition file creating an XML file based on that DTD and writing a pro... View full answer
Get step-by-step solutions from verified subject matter experts
