blob: 5e70defd9754089006157970989553491c188276 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
<title>Creating a comment</title>
</head>
<body id="creatingacomment"><a name="creatingacomment"><!-- --></a>
<h1 class="topictitle1">Creating a comment</h1>
<div><p>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.</p><div class="skipspace">To create a comment, follow these steps:</div>
<ol><li><span>Open your DTD in the DTD editor.</span></li>
<li><span>In the Outline view, right-click the DTD <img src="../images/nDTDFile.gif" alt="Image of the DTD icon" /> and select <span class="uicontrol">Add Comment</span>.</span></li>
<li><span>In the Properties view, type your comment.</span></li>
</ol>
</div>
<div>
<p>
<b class="parentlink">Parent topic:</b> <a href="../topics/tedtdtd.html" title="You can edit DTD files in both the Outline view and the Source view. Modifying the content of a DTD determines what can be used in any XML file that is associated with it.">Editing DTDs</a><br />
</p>
<p><b class="reltaskshd">Related tasks</b><br />
<a href="../topics/tremvelm.html" title="If you have created elements, attributes, entities, notations, and comments you no longer need, you can delete any of them.">Deleting elements, attributes, entities, notations, and comments</a><br />
</p>
</div>
</body>
</html>