Compare XML Schema with DTD. Write XML Schema to describe a student as root element, name as child element with firstname, middlename, lastname, city as child element with content "KTM", "PKR", "L
Marks: 10
Year: 2024 Final TU FOHSS
Part A: Comparison between DTD and XML Schema (5 Marks) Definition DTD (Document Type Definition): A rule set that defines the structure and legal elements of an XML document. XML Schema (XSD):