blob: 98ba40c8255f7bb4507a1f7ee631a5fa512cd9c7 [file] [log] [blame]
syeshin17ed4a62005-07-25 17:10:24 +00001<?xml version="1.0" encoding="UTF-8"?>
syeshinaaa21932005-09-22 17:13:22 +00002<!DOCTYPE html
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4<html>
5<head>
syeshin17ed4a62005-07-25 17:10:24 +00006<!-- /*******************************************************************************
7 * Copyright (c) 2000, 2005 IBM Corporation and others.
8 * All rights reserved. This program and the accompanying materials
9 * are made available under the terms of the Eclipse Public License v1.0
10 * which accompanies this distribution, and is available at
11 * http://www.eclipse.org/legal/epl-v10.html
12 *
13 * Contributors:
14 * IBM Corporation - initial API and implementation
15 *******************************************************************************/ -->
syeshinaaa21932005-09-22 17:13:22 +000016<link rel="stylesheet" type="text/css" href="../../org.eclipse.wst.doc.user/common.css" />
syeshin17ed4a62005-07-25 17:10:24 +000017<title>DTD editor</title>
syeshin66078272005-09-20 16:53:38 +000018</head>
syeshin17ed4a62005-07-25 17:10:24 +000019<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
23DTD editor (by double-clicking it in the Navigator view), a tool for viewing
24and editing DTDs. You can use the DTD editor to perform a variety of tasks
25such as creating, editing, and deleting DTD elements, attributes, entities,
26notations, and comments</p><p>Before you can perform any of these tasks, you must create a DTD and open
27it in the DTD editor. After you open the DTD, you can use the <span class="uicontrol">Outline</span> view
28to create nodes and the <span class="uicontrol">Properties</span> view to provide
29details about the nodes.</p>
30<p></p>
31<p> <b>Note</b>: In the <span class="uicontrol">Outline</span> view, you can either
32work in default mode (all nodes appear in the order you added them to the
33DTD in) or group the DTD nodes into the following logical groups: notations,
34entities, 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>
syeshin17ed4a62005-07-25 17:10:24 +000045</body>
46</html>