Version 2.0 release of System Model Generator, which draws 3.x syntax system definition files
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Generated by Xbuild version: 5.0.20 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="show-comments" content="" />
<title>Colors Values XML File in Values XML Files</title>
<link href="../../_stock/css/reset.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/portal.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/iefix.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/ui.tabs.css" rel="stylesheet" type="text/css" />
<link href="../../_stock/css/developer.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/ui.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/sysdoc.css" media="screen" />
<link rel="stylesheet" type="text/css" href="../../_stock/css/sdlplugin.css" media="screen" />
</head>
<body>
<div id="main_content">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="100%">
<div id="main_content_txt">
<div class="main_content_padding">
<div id="main">
<div id="authoredContent">
<div class="section">
<a name="coloursxml"></a><h1>Colors Values XML File</h1><div class="section">
<h2>Purpose</h2><p>
The colors values XML file is used to define the colors of components.
The valid value that can be specified for a color can be any CSS colors type.
For example, it can be <code>#cc00aa</code>, <code>rgb(255,18,200)</code>, or
<code>blue</code>.
</p><p>
For information about how to define new values colors, see
<a href="../CustomSysmodel/index.html#cust%2eindex" title="This document describes how to customise a System Model diagram using a Shapes XML file to specify the styling of components and generated legend items.">Customizing the System Model Presentation</a>.
</p><p>
<b>Note</b>: For more information, see
<a href="http://www.w3.org/TR/CSS2/">CSS2 Specification</a>.
</p></div>
<div class="section">
<h2>Syntax</h2>
<p>The Colors files use the common syntax for all <a href="Values-XML-index.html">Values XML files</a>. </p>
<p>If a system model item has more than one color applied, the colour will appear as bands across the system model item.
</p>
</div>
<div class="section">
<h2>Example</h2>
<div class="Example"><code class="xml"><?xml version="1.0"?>
<br><values default="grey" label="Technology Streams">
<div class="indent"><item label="Base Services" value="#8f8fbd">
<div class="indent"> <m ref="apputils"/>
<br> <m ref="cafdrm"/>
</div> </item>
<br> <item label="Persistent Data Services" value="#993366">
<div class="indent"> <m ref="sql"/>
<br> <m ref="store"/>
<br> <m ref="dbms"/>
</div> </item>
</div></values></code></div>
<p>
The following figure shows the generated legend for the preceding
colors values XML:
</p><div class="Figure">
<p class="Image"><img src="Colorxmloutput.gif" alt=""/></p><br clear="all"/>
</div></div>
<div class="section">
<h2>See also</h2><p>
<a href="Patterns-XMLFile.html#patternsxml">Patterns Values XML File</a>
</p><p>
<a href="Border-Shapes-XMLFile.html#bordershapesxml">Border Shapes Values XML File</a>
</p><p>
<a href="Border-Style-XMLFile.html#borderstylesxml">Border Styles Values XML File</a>
</p></div>
</div>
</div>
<div id="printer_copyright">
<div id="printer_copyright_padding">
Copyright ©2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>
</div>
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<div style="clear: both"></div>
</div>
<div id="includedFooter">
<div id="devnet_footer">
<div style="float: left;">Copyright ©2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>. </div>
<div id='BUILD_VERSION'></div>
</div>
</div>
</body>
</html>