configurationengine/source/scripts/tests/generation_test_project/custom/implml/simple_tempvars.implml
equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <container xmlns="http://www.symbianfoundation.org/xml/implml/1"> |
|
3 <!-- Define the temporary variables and set their values --> |
|
4 <tempVariable ref="TempFeature.String" type="string" value="testing"/> |
|
5 <tempVariable ref="TempFeature.Int" type="int" value="500"/> |
|
6 <tempVariable ref="TempFeature.Real" type="real" value="1.5"/> |
|
7 <tempVariable ref="TempFeature.Boolean" type="boolean" value="true"/> |
|
8 <tempVariable ref="TempFeature.Unused" type="boolean" value="false"/> |
|
9 |
|
10 <!-- Modify the temporary features --> |
|
11 <ruleml xmlns="http://www.s60.com/xml/ruleml/1"> |
|
12 <rule>True configures TempFeature.String = TempFeature.String + " and more testing"</rule> |
|
13 <rule>True configures TempFeature.Int = TempFeature.Int + 1</rule> |
|
14 <rule>True configures TempFeature.Real = TempFeature.Real + 0.25</rule> |
|
15 </ruleml> |
|
16 |
|
17 <!-- Print out the values to a text file --> |
|
18 <templateml xmlns="http://www.s60.com/xml/templateml/1"> |
|
19 <output file="simple_tempvars_test.txt" dir="content" encoding="UTF-8"> |
|
20 <template> |
|
21 TempFeature.String: {{ feat_tree.TempFeature.String._value }} |
|
22 TempFeature.Int: {{ feat_tree.TempFeature.Int._value }} |
|
23 TempFeature.Real: {{ feat_tree.TempFeature.Real._value }} |
|
24 TempFeature.Boolean: {{ feat_tree.TempFeature.Boolean._value }} |
|
25 </template> |
|
26 </output> |
|
27 </templateml> |
|
28 </container> |