sysmodellibs/sysmodelgen/doc/sysmodel/SMG-Input-Files/System-Info-XMLFile.html
changeset 7 3c36c452f013
equal deleted inserted replaced
6:5b32dc297d05 7:3c36c452f013
       
     1 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       
     2     <!-- Generated by Xbuild version: 5.0.20 -->
       
     3     <head>
       
     4         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
     5 	<meta name="show-comments" content="" />
       
     6 	<title>SystemInfo XML File in System Model Generator Input Files</title>    
       
     7 	<link href="../../_stock/css/reset.css" rel="stylesheet" type="text/css" />
       
     8 	<link href="../../_stock/css/portal.css" rel="stylesheet" type="text/css" />
       
     9 	<link href="../../_stock/css/iefix.css" rel="stylesheet" type="text/css" />
       
    10 	<link href="../../_stock/css/ui.tabs.css" rel="stylesheet" type="text/css" />
       
    11 	<link href="../../_stock/css/developer.css" rel="stylesheet" type="text/css" />
       
    12 	<link rel="stylesheet" type="text/css" href="../../_stock/css/ui.css" media="screen" />
       
    13 	<link rel="stylesheet" type="text/css" href="../../_stock/css/sysdoc.css" media="screen" />
       
    14 	<link rel="stylesheet" type="text/css" href="../../_stock/css/sdlplugin.css" media="screen" />
       
    15     </head>
       
    16     <body>
       
    17 	<div id="main_content">
       
    18 	    <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    19 		<tr>
       
    20 		    <td valign="top" width="100%">
       
    21 			<div id="main_content_txt">
       
    22 			    <div class="main_content_padding">		
       
    23                                 <div id="main">
       
    24                                     <div id="authoredContent">
       
    25                                         <div class="section">
       
    26 <a name="SystemInfoXML"></a><h1>System Info XML File</h1><div class="section">
       
    27 <h2>Purpose</h2><p>
       
    28 		You can use the systeminfo XML file to add properties to components in
       
    29 		a system definition XML file. This is used to provide extra attributes and elements to be used by a
       
    30 		Shapes XML file, or for custom post-processing. 
       
    31 	  </p></div>
       
    32 <div class="<var>section</var>">
       
    33 <h2>Syntax</h2><div class="Example"><code class="xml">&lt;?xml version="1.0"?&gt;  
       
    34 <br>&lt;info <span class="opt">data-type="<var>rel-value</var>"</span> <span class="opt">id-namespace="<var>uri</var>"</span> <span class="opt"><var>&#133;namespaces&#133;</var></span> &gt;
       
    35 <div class="indent">&lt;item ref="<var>id</var>" &#133;/&gt;
       
    36 <br>&lt;item ref="<var>id</var>" &#133;&gt;
       
    37 <div class="indent">&#133; <em class="comment">arbitrary content</em>&#133;</div>
       
    38 &lt;/item&gt;
       
    39 <br>&#133;
       
    40 </div>&lt;/item&gt;</code></div><p>
       
    41 
       
    42 
       
    43 		The <code>item</code> element provides additional information for the referenced system model item. It can be 
       
    44 		any rank &mdash; layer, package, collection or component. 
       
    45 		The only required attribute is <b><code>ref</code></b>, which is the ID in the system definition. 
       
    46 		When you build, the data in this file is added to the elements in the system definition.
       
    47 		The attributes in the System Info file are added to the the system model item, overwriting any existing attribute by that name,
       
    48 		Any elements or comments within the <code>item</code> tag is added to a <code>meta</code> section within the item. 
       
    49 	  </p></div>
       
    50 
       
    51 
       
    52 <p>The root element <code>info</code> can take these optional attributes: 
       
    53 	  </p><ul> 
       
    54 	  		<li>
       
    55 		  <p>
       
    56 			<code class="xml">data-type="<var>rel-value</var>"</code>: The value to be but in the <code>rel</code> attribute for any <code>&lt;meta&gt;</code> elements created by this file. 
       
    57 			See <a href="http://developer.symbian.org/wiki/index.php/System_Definition/Meta#Attributes"><code>meta</code> attributes</a> for details on usage.		
       
    58 			This defaults to "<code>Generic</code>".
       
    59 		  </p> 
       
    60 		</li>
       
    61 
       
    62 
       
    63 		<li>
       
    64 		  <p>
       
    65 			<code class="xml">id-namespace="<var>uri</var>"</code>: The default namespace for all <code>ref</code> attributes in the XML file. Has the same meaning, usage and default value as <code>id-namespace</code> in the <a href="http://developer.symbian.org/wiki/index.php/System_Definition/Root#Attributes">System Definition</a>.
       
    66 		  </p> 
       
    67 		</li>
       
    68 
       
    69 		<li>
       
    70 		  <p>
       
    71 			<code><var>namespaces</var></code>: Any namespace declaration should be done in the root element. ID references can use namespace prefixes to associate with system model items. See <a href="http://developer.symbian.org/wiki/index.php/System_Definition/Attributes#Namespacing_names">Namespacing names</A> in the System Definition specification.
       
    72 		  </p> 
       
    73 		</li>
       
    74 
       
    75 
       
    76 </div>
       
    77 
       
    78 <div class="section">
       
    79 <h2>Example</h2>
       
    80 <div class="Example"><code class="xml">&lt;?xml version="1.0" encoding="ascii"?&gt;
       
    81 <br>&lt;info data-type="usage" <span class="namespaced">xmlns:my="http://example.com/mine"</span>&gt;
       
    82 <div class="indent"> &lt;item ref="connectivityservices" deprecated="9.4"/&gt;
       
    83 <br> &lt;item ref="connectivityframework" deprecated="9.4"/&gt;
       
    84 <br> &lt;item ref="ipproto-cpr" used="true"/&gt;
       
    85 <br> &lt;item ref="tcpcpr" used="true"/&gt;
       
    86 <br> &lt;item used="true" introduced="9.1" ref="devicemanagementadaptors"/&gt;
       
    87 <br> &lt;item ref="<span class="namespaced">my:</span>referencedevsoundplugins" used="true"/&gt;
       
    88 <br> &lt;item introduced="9.1" ref="clientprovisioningframework"/&gt;
       
    89 <br> &lt;item introduced="9.1" used="true" ref="clientprovisioningadaptors"/&gt;
       
    90 <br> &lt;item ref="telnetengine" introduced="6.0"/&gt;
       
    91 <br> &lt;item introduced="9.2" ref="sipframework"/&gt;
       
    92 <br> &lt;item ref="otherfileconverterplugins" used="true" introduced="5.0" deprecated="9.3"/&gt;
       
    93 <br> &lt;item ref="dataengine" introduced="5.0" deprecated="9.3"/&gt;
       
    94 <br> &lt;item ref="sheetengine" introduced="5.0" deprecated="9.3"/&gt;
       
    95 <br> &lt;item ref="wordengine" introduced="5.0" deprecated="9.3"/&gt;
       
    96 <br> &lt;item ref="help" introduced="6.0"/&gt;
       
    97 <br> &lt;item ref="agendamodel" introduced="5.0" deprecated="9.1"/&gt;
       
    98 <br> &lt;item ref="calendar" introduced="9.2"/&gt;
       
    99 <br> &lt;item ref="integratorxx600logicmodule" ref="true"/&gt;
       
   100 <br> &lt;item ref="multimediavalidationsuiteintegrationtests" introduced="9.4"/&gt;
       
   101 <br> &lt;item ref="swianalysistoolkit" ref="true"/&gt;
       
   102 <br> &lt;item ref="iphookexamples" ref="true"/&gt;
       
   103 <br> &lt;item ref="ipexamples" ref="true"/&gt;
       
   104 <br> &lt;item ref="referenceacladaptation" introduced="9.5"/&gt;
       
   105 <br> &lt;item introduced="9.5" ref="a3faudiocomponentlibrary"/&gt;
       
   106 <br> &lt;item introduced="9.5" ref="a3fdevsoundcustomisation"/&gt;
       
   107 <br> &lt;item introduced="9.5" ref="a3fdevsound"/&gt;
       
   108 <br> &lt;item introduced="9.5" ref="a3faudiocomponentframework"/&gt;
       
   109 <br> &lt;item introduced="9.5" ref="securitycommonutils"/&gt;
       
   110 <br> &lt;item introduced="9.5" ref="a3ftraceutility"/&gt;
       
   111 <br> &lt;item ref="commandshell" introduced="9.5"/&gt;
       
   112  <br/>&lt;item ref="telnetserver" introduced="9.5"/&gt;<br> &lt;item ref="multimediaresourcecontroller" introduced="9.5"/&gt;
       
   113  </div>&lt;/info&gt;</code></div></div>
       
   114 <div class="section">
       
   115 <h2> See also</h2><p>
       
   116 		<a href="Localisation-XMLFile.html#Localisation">Localization XML File</a> 
       
   117 	  </p><p>
       
   118 		<a href="Dependencies-sysinfo.html">Dependencies Sysinfo File</a> 
       
   119 	  </p><p>
       
   120 		<a href="Values-XML-index.html#valuesxml" title="The Values XML files are used to define default and per-component display properties. You can use a values XML file to define colors, patterns, border shapes, or border styles of the components.">Values XML File</a> 
       
   121 	  </p></div>
       
   122 </div>
       
   123 
       
   124                                     </div>
       
   125                                     <div id="printer_copyright">
       
   126                                         <div id="printer_copyright_padding">
       
   127                                             Copyright &copy;2009  Nokia Corporation and/or its subsidiary(-ies). All rights reserved. License: <a href="http://www.symbianfoundation.org/legal/sfl-v10.html">SFL</a>
       
   128                                         </div>
       
   129                                     </div>
       
   130                                 </div>
       
   131 			    </div>
       
   132 			</div>
       
   133 		    </td>
       
   134 		</tr>
       
   135 	    </table>
       
   136 	    <div style="clear: both"></div>
       
   137 	</div>
       
   138 	<div id="includedFooter">
       
   139 	    <div id="devnet_footer">
       
   140             <div style="float: left;">Copyright &copy;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>
       
   141             <div id='BUILD_VERSION'></div>
       
   142 	    </div>
       
   143 	</div>
       
   144 </body>
       
   145 </html>