Creating a comment

Comments can be used to provide information about a document, such as the author's name, or the date it was last modified. Comments are visible to anyone reading the DTD, but are ignored by the XML parser.

To create a comment, follow these steps:
  1. Open your DTD in the DTD editor.
  2. In the Outline view, right-click the DTD Image of the DTD icon and select Add Comment.
  3. In the Properties view, type your comment.

Parent topic: Editing DTDs

Related tasks
Deleting elements, attributes, entities, notations, and comments

(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.