xml spy
Previous  Top  Next
Insert DOCTYPE

ic_ins_doctype
This command inserts a Document Type Declaration - or more precisely, the DOCTYPE block for the internal subset of a Document Type Declaration (DTD) - before the selected item.

Please note:  
The DOCTYPE block may only appear at the top of an XML instance document between the XML Declaration and the root element of the XML document.  

You could also use the Assign DTD command instead, which lets you create a DOCTYPE statement that refers to an external DTD document.

Previous  Top  Next

© 2002 Altova