Adding Comments to DTDs

In a DTD, comments are useful for organizing the contents and clarifying the various parts of a DTD. A comment can appear between element, entity, or white space nodes. You can insert a comment in the middle of an element definition.

In the Tree tab, to insert a comment:
1. Click the DTD node at the top of the schema.
2. In the tool bar on the left, click New Comment .
3. Type your comment and press Enter.
4. Click the up arrow to move the comment to the desired location.
 
Free Stylus Studio XML Training:
W3C Member