A reference to the DTD goes in the XML file. The DTD itself is a separate file which contains very non-XML code/commands which tell the various parsers how to validate the XML file.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.