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> |
| 16 | <link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" /> |
| 17 | <title>DTD editor</title> |
| 18 | <script language="JavaScript"> |
| 19 | function popup_window( url, id, width, height ) |
| 20 | { |
| 21 | popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' ); |
| 22 | popup.focus(); |
| 23 | } |
| 24 | </script><script language="JavaScript" src="help/liveHelp.js"></script></head> |
| 25 | <body id="cdtdedit"><a name="cdtdedit"><!-- --></a> |
| 26 | |
| 27 | <h1 class="topictitle1">DTD editor</h1> |
| 28 | <div><p>After you have created or imported a DTD, you can open it in the |
| 29 | DTD editor (by double-clicking it in the Navigator view), a tool for viewing |
| 30 | and editing DTDs. You can use the DTD editor to perform a variety of tasks |
| 31 | such as creating, editing, and deleting DTD elements, attributes, entities, |
| 32 | notations, and comments</p><p>Before you can perform any of these tasks, you must create a DTD and open |
| 33 | it in the DTD editor. After you open the DTD, you can use the <span class="uicontrol">Outline</span> view |
| 34 | to create nodes and the <span class="uicontrol">Properties</span> view to provide |
| 35 | details about the nodes.</p> |
| 36 | <p></p> |
| 37 | <p> <b>Note</b>: In the <span class="uicontrol">Outline</span> view, you can either |
| 38 | work in default mode (all nodes appear in the order you added them to the |
| 39 | DTD in) or group the DTD nodes into the following logical groups: notations, |
| 40 | entities, elements, and other, by clicking the <span class="uicontrol">Group items logically</span> button <img src="../images/organize_dtd_logically.gif" />. </p> |
| 41 | </div> |
| 42 | |
| 43 | <div> |
| 44 | <p> |
| 45 | <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 /> |
| 46 | </p> |
| 47 | <p><b class="reltaskshd">Related tasks</b><br /> |
| 48 | <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 /> |
| 49 | </p> |
| 50 | </div> |
| 51 | <p> |
| 52 | (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| 53 | </p> |
| 54 | </body> |
| 55 | </html> |