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>Patterns 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="patternsxml"></a><h1>Patterns Values XML File</h1><div class="section">
<h2>Purpose</h2><p>
The patterns values XML file is used to define the patterns of
components. The valid values for a pattern can be <code>striped-diag-up</code>,
<code>radial-grad</code>, <code>big-X</code> or a reference (<code>#<var>xxxx<var></code>) to a pattern specified
in a Shapes XML file.
</p><p>
The following figure shows the various predefined patterns:
</p><div class="Figure">
<p class="Image"><img src="patterns.gif" alt="" border="0"/></p><br clear="all"/>
</div><p>
For information about how to define new values for patterns, 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></div>
<div class="section">
<h2>Syntax</h2>
<p>The Patterns files use the common syntax for all <a href="Values-XML-index.html">Values XML files</a>. </p>
</div>
<div class="section">
<h2>Example</h2>
<div class="Example"><code class="xml"><?xml version="1.0"?><br><values>
<div class="indent"> <item label="Reference Compo#xad;nent" value="striped-diag-up">
<div class="indent"> <component name="OMAP 1623"/>
<br> <component name="SD Card Driver"/>
<br> …
</div> </item>
<br> <item label="New in 9.4" value="radial-grad">
<div class="indent"> <component name="Wireless LAN"/>
<br> <component name="Graphics Effects"/>
</div> </item>
<br> <item label="Depre&#ad;cated" value="#my-pattern">
<div class="indent"> <component name="Word Engine"/>
</div> </item>
</div></values></code></div><p>
The following figure shows the generated legend for the preceding
patterns values XML:
</p><div class="Figure">
<p class="Image"><a name=""><img src="patternsxmloutput.gif" alt="" border="0"/></a></p><br clear="all"/>
</div></div>
<div class="section">
<h2>See also</h2><p>
<a href="Colours-XMLFile.html#coloursxml">Colors 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>