DTD Reference: External | |||
When specified externally, the DTD is stored in an external text file with a .dtd extension. This file is then referenced in the prolog of an XML document. The code snippet on the right displays an XML document with a DTD reference: <!DOCTYPE Messages SYSTEM "C:\messagelist.dtd"> where:
In addition, the code snippet displays the messagelist.dtd file. Note that the definitions begin with an xml declaration tag, similar to all XML documents. |
|
||
Click the Next button to continue. |