|
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"><?xml version="1.0"?> |
|
34 <br><info <span class="opt">data-type="<var>rel-value</var>"</span> <span class="opt">id-namespace="<var>uri</var>"</span> <span class="opt"><var>…namespaces…</var></span> > |
|
35 <div class="indent"><item ref="<var>id</var>" …/> |
|
36 <br><item ref="<var>id</var>" …> |
|
37 <div class="indent">… <em class="comment">arbitrary content</em>…</div> |
|
38 </item> |
|
39 <br>… |
|
40 </div></item></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 — 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><meta></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"><?xml version="1.0" encoding="ascii"?> |
|
81 <br><info data-type="usage" <span class="namespaced">xmlns:my="http://example.com/mine"</span>> |
|
82 <div class="indent"> <item ref="connectivityservices" deprecated="9.4"/> |
|
83 <br> <item ref="connectivityframework" deprecated="9.4"/> |
|
84 <br> <item ref="ipproto-cpr" used="true"/> |
|
85 <br> <item ref="tcpcpr" used="true"/> |
|
86 <br> <item used="true" introduced="9.1" ref="devicemanagementadaptors"/> |
|
87 <br> <item ref="<span class="namespaced">my:</span>referencedevsoundplugins" used="true"/> |
|
88 <br> <item introduced="9.1" ref="clientprovisioningframework"/> |
|
89 <br> <item introduced="9.1" used="true" ref="clientprovisioningadaptors"/> |
|
90 <br> <item ref="telnetengine" introduced="6.0"/> |
|
91 <br> <item introduced="9.2" ref="sipframework"/> |
|
92 <br> <item ref="otherfileconverterplugins" used="true" introduced="5.0" deprecated="9.3"/> |
|
93 <br> <item ref="dataengine" introduced="5.0" deprecated="9.3"/> |
|
94 <br> <item ref="sheetengine" introduced="5.0" deprecated="9.3"/> |
|
95 <br> <item ref="wordengine" introduced="5.0" deprecated="9.3"/> |
|
96 <br> <item ref="help" introduced="6.0"/> |
|
97 <br> <item ref="agendamodel" introduced="5.0" deprecated="9.1"/> |
|
98 <br> <item ref="calendar" introduced="9.2"/> |
|
99 <br> <item ref="integratorxx600logicmodule" ref="true"/> |
|
100 <br> <item ref="multimediavalidationsuiteintegrationtests" introduced="9.4"/> |
|
101 <br> <item ref="swianalysistoolkit" ref="true"/> |
|
102 <br> <item ref="iphookexamples" ref="true"/> |
|
103 <br> <item ref="ipexamples" ref="true"/> |
|
104 <br> <item ref="referenceacladaptation" introduced="9.5"/> |
|
105 <br> <item introduced="9.5" ref="a3faudiocomponentlibrary"/> |
|
106 <br> <item introduced="9.5" ref="a3fdevsoundcustomisation"/> |
|
107 <br> <item introduced="9.5" ref="a3fdevsound"/> |
|
108 <br> <item introduced="9.5" ref="a3faudiocomponentframework"/> |
|
109 <br> <item introduced="9.5" ref="securitycommonutils"/> |
|
110 <br> <item introduced="9.5" ref="a3ftraceutility"/> |
|
111 <br> <item ref="commandshell" introduced="9.5"/> |
|
112 <br/><item ref="telnetserver" introduced="9.5"/><br> <item ref="multimediaresourcecontroller" introduced="9.5"/> |
|
113 </div></info></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 ©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 ©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> |