blob: 69e862e9e8ec04aa1c5989d2d217480267a73414 [file] [log] [blame]
syeshin17ed4a62005-07-25 17:10:24 +00001<?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>
syeshin15e1cc42005-08-26 04:13:17 +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>
45 <p>
46 (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
47 </p>
48</body>
49</html>