@zareen said in CS311 Assignment 1 Solution and Discussion:
Q. Create an internal DTD and XML Document for the XML tree drawn below.
DTD (10 marks)
XML Document (10 marks)
Solution Idea
DTD:
XML:
<?xml version="1.0" encoding="UTF-8"?> <league year="" name=""> <franchise owner="" name="" city=""> <team> <wins></wins> <losses></losses> <coach></coach> <player> <name></name> <age></age> <matches></matches> <runs></runs> </player> </team> </franchise> </league>