blob: 865909042e41b53a47fcbaf23eff6e66f89dbe92 [file] [log] [blame]
<?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>
<head>
<link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" />
<title>Setting source highlighting styles</title>
<script language="JavaScript">
function popup_window( url, id, width, height )
{
popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' );
popup.focus();
}
</script><script language="JavaScript" src="help/liveHelp.js"></script></head>
<body id="ttaghilt"><a name="ttaghilt"><!-- --></a>
<h1 class="topictitle1">Setting source highlighting styles</h1>
<div><p>You can change how the XML source code is displayed in the Source
view of the XML editor. </p><div class="skipspace"><p>To set highlighting styles for the XML code, follow these steps:</p>
</div>
<ol><li><span>Click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span> &gt; <span class="uicontrol">Web and XML</span> &gt; <span class="uicontrol">XML Files</span> &gt; <span class="uicontrol"> XML
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 Defaults</span> to set
the highlighting styles back to their default values.</span></li>
<li><span>Click <span class="uicontrol">OK</span> to save your changes. </span></li>
</ol>
<p>
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.
</p>
</body>
</html>