This command assigns a Document Type Definition (DTD) to an XML document to enable Validation and Intelligent editing.
The command opens the Assign File dialog to let you specify the DTD file you wish to assign, and inserts the required DOCTYPE statement into your XML document:
<!DOCTYPE main SYSTEM "http://link.xmlspy.com/spyweb.dtd">