syeshin | 17ed4a6 | 2005-07-25 17:10:24 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- /******************************************************************************* |
| 3 | * Copyright (c) 2000, 2005 IBM Corporation and others. |
| 4 | * All rights reserved. This program and the accompanying materials |
| 5 | * are made available under the terms of the Eclipse Public License v1.0 |
| 6 | * which accompanies this distribution, and is available at |
| 7 | * http://www.eclipse.org/legal/epl-v10.html |
| 8 | * |
| 9 | * Contributors: |
| 10 | * IBM Corporation - initial API and implementation |
| 11 | *******************************************************************************/ --> |
| 12 | <!DOCTYPE html |
| 13 | PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 14 | <html> |
| 15 | <head> |
syeshin | 15e1cc4 | 2005-08-26 04:13:17 +0000 | [diff] [blame] | 16 | <link rel="stylesheet" type="text/css" href="../org.eclipse.wst.doc.user/common.css" /> |
syeshin | 17ed4a6 | 2005-07-25 17:10:24 +0000 | [diff] [blame] | 17 | <title>DTD editor</title> |
syeshin | 6607827 | 2005-09-20 16:53:38 +0000 | [diff] [blame^] | 18 | </head> |
syeshin | 17ed4a6 | 2005-07-25 17:10:24 +0000 | [diff] [blame] | 19 | <body id="cdtdedit"><a name="cdtdedit"><!-- --></a> |
| 20 | |
| 21 | <h1 class="topictitle1">DTD editor</h1> |
| 22 | <div><p>After you have created or imported a DTD, you can open it in the |
| 23 | DTD editor (by double-clicking it in the Navigator view), a tool for viewing |
| 24 | and editing DTDs. You can use the DTD editor to perform a variety of tasks |
| 25 | such as creating, editing, and deleting DTD elements, attributes, entities, |
| 26 | notations, and comments</p><p>Before you can perform any of these tasks, you must create a DTD and open |
| 27 | it in the DTD editor. After you open the DTD, you can use the <span class="uicontrol">Outline</span> view |
| 28 | to create nodes and the <span class="uicontrol">Properties</span> view to provide |
| 29 | details about the nodes.</p> |
| 30 | <p></p> |
| 31 | <p> <b>Note</b>: In the <span class="uicontrol">Outline</span> view, you can either |
| 32 | work in default mode (all nodes appear in the order you added them to the |
| 33 | DTD in) or group the DTD nodes into the following logical groups: notations, |
| 34 | entities, elements, and other, by clicking the <span class="uicontrol">Group items logically</span> button <img src="../images/organize_dtd_logically.gif" />. </p> |
| 35 | </div> |
| 36 | |
| 37 | <div> |
| 38 | <p> |
| 39 | <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 /> |
| 40 | </p> |
| 41 | <p><b class="reltaskshd">Related tasks</b><br /> |
| 42 | <a href="../topics/tcretdtd.html" title="A document type definition (DTD) contains a set of rules that can be used to validate an XML file. After you have created a DTD, you can edit it, adding declarations that define elements, attributes, entities, and notations, and how they can be used for any XML files that reference the DTD file.">Creating DTDs</a><br /> |
| 43 | </p> |
| 44 | </div> |
| 45 | <p> |
| 46 | (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| 47 | </p> |
| 48 | </body> |
| 49 | </html> |