A DTD is referred to as an internal DTD if elements are declared within the XML files. To reference it as internal DTD, standalone attribute in XML declaration must be set to yes.
An XML that describes a note that contains property to, from and message along with internal DTD will look like:
<...