<!DOCTYPE RootName SYSTEM URL>
<!DOCTYPE RootName PUBLIC "PublicID" URL (optional)>
<!DOCTYPE RootName [the declarations of the DTD]>
- The DTD goes after the XML declaration
or is in a separate file:
<?xml version="1.0"?>
<!DOCTYPE exam SYSTEM "exam.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- PUBLIC indicates a publicly available standard
- SYSTEM indicates a local URL
- The DOCTYPE statement is the Document Type Declaration
- This and the other declarations make up the DTD
- exam is the root element