| <?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 lang="en-us" xml:lang="en-us"> |
| <head> |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type" /> |
| <meta name="copyright" content="Copyright (c) 2000, 2006 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" /> |
| <meta name="DC.rights.owner" content="(C) Copyright 2000, 2006" /> |
| <meta content="public" name="security" /> |
| <meta content="index,follow" name="Robots" /> |
| <meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' /> |
| <meta content="task" name="DC.Type" /> |
| <meta name="DC.Title" content="Setting source highlighting styles" /> |
| <meta name="abstract" content="If desired, you can change various aspects of how the DTD source code is displayed in the Source view of the DTD editor, such as the colors the tags will be displayed in." /> |
| <meta name="description" content="If desired, you can change various aspects of how the DTD source code is displayed in the Source view of the DTD editor, such as the colors the tags will be displayed in." /> |
| <meta content="DTDs (document type definitions), XML editor preferences, setting highlighting styles, XML editor, preferences, setting DTD highlighting styles" name="DC.subject" /> |
| <meta content="DTDs (document type definitions), XML editor preferences, setting highlighting styles, XML editor, preferences, setting DTD highlighting styles" name="keywords" /> |
| <meta scheme="URI" name="DC.Relation" content="../topics/tcretdtd.html" /> |
| <meta content="XHTML" name="DC.Format" /> |
| <meta content="ttaghilt" name="DC.Identifier" /> |
| <meta content="en-us" name="DC.Language" /> |
| <link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" /> |
| <title>Setting source highlighting styles for DTD files</title> |
| </head> |
| <body id="ttaghilt"><a name="ttaghilt"><!-- --></a> |
| |
| |
| <h1 class="topictitle1">Setting source highlighting styles</h1> |
| |
| |
| |
| |
| <div><p>If desired, you can change various aspects of how the DTD source |
| code is displayed in the Source view of the DTD editor, such as the colors |
| the tags will be displayed in.</p> |
| |
| <div class="section"><p>To set highlighting styles for the DTD code, follow these steps:</p> |
| </div> |
| |
| <ol> |
| <li><span>Click <span class="menucascade"><span class="uicontrol">Window</span> > <span class="uicontrol">Preferences</span> |
| > <span class="uicontrol">Web and XML</span> > <span class="uicontrol">DTD Files</span> > <span class="uicontrol"> DTD |
| Styles</span></span>.</span></li> |
| |
| <li><span>In the <span class="uicontrol">Content type</span> list, select the source |
| tag type that you wish to set a highlighting style for. You can also click |
| text in the sample text to specify the source tag type that you wish to set |
| a highlighting style for.</span></li> |
| |
| <li><span>Click the <span class="uicontrol">Foreground</span> box.</span></li> |
| |
| <li><span>Select the color that you want the text of the tag to appear in |
| and click <span class="uicontrol">OK</span>.</span></li> |
| |
| <li><span>Click the <span class="uicontrol">Background</span> box.</span></li> |
| |
| <li><span>Select the color that you want to appear behind the tag and click <span class="uicontrol">OK</span>.</span> |
| </li> |
| |
| <li><span>Select the <span class="uicontrol">Bold</span> check box if you want to |
| make the type bold.</span></li> |
| |
| <li><span>Click <span class="uicontrol">Restore Default</span> to set the highlighting |
| styles back to their default values. If you only want to reset the value for |
| a particular content type, select it in the <span class="uicontrol">Content type </span> field, |
| the click the <span class="uicontrol">Restore Default</span> button next to it. </span> |
| </li> |
| |
| <li><span>Click <span class="uicontrol">OK</span> to save your changes.</span></li> |
| |
| </ol> |
| |
| <div class="section" /> |
| |
| </div> |
| |
| <div> |
| <div class="familylinks"> |
| <div class="parentlink"><strong>Parent topic:</strong> <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 manually, 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></div> |
| </div> |
| </div> |
| |
| </body> |
| </html> |