configurationengine/source/scripts/tests/generation_test_project/custom/implml/conditional_container.implml
author m2lahtel
Tue, 10 Aug 2010 14:29:28 +0300
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
permissions -rw-r--r--
ConE 1.2.11 release
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     2
<container xmlns="http://www.symbianfoundation.org/xml/implml/1">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     3
    <!-- Define the temporary variables and set their values -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     4
    <tempVariable ref="Condition.String"   type="string"   value="testing"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     5
    <tempVariable ref="Condition.Int"      type="int"      value="500"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     6
    <tempVariable ref="Condition.Real"     type="real"     value="1.5"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     7
    <tempVariable ref="Condition.Boolean"  type="boolean"  value="true"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     8
    <tempVariable ref="Condition.Unused"   type="boolean"  value="false"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     9
    
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    10
    <container condition="${Condition.String}" value="testing">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    11
        <!-- Print out the values to a text file -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    12
        <templateml xmlns="http://www.s60.com/xml/templateml/1">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    13
        <output file="template_string_condition_true.txt" dir="content" encoding="UTF-8">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    14
        <template>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    15
TempFeature.String:  {{ feat_tree.TempFeature.String._value }}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    16
        </template>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    17
        </output>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    18
        </templateml>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    19
    </container>
3
e7e0ae78773e ConE 1.2.11 release
m2lahtel
parents: 0
diff changeset
    20
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    21
    <container condition="${Condition.String}" value="nomatch">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    22
        <!-- Print out the values to a text file -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    23
        <templateml xmlns="http://www.s60.com/xml/templateml/1">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    24
        <output file="template_string_condition_false.txt" dir="content" encoding="UTF-8">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    25
        <template>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    26
TempFeature.String:  {{ feat_tree.TempFeature.String._value }}
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    27
        </template>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    28
        </output>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    29
        </templateml>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    30
    </container>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    31
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    32
    <container condition="${Condition.Boolean}">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    33
        <!-- Print out the values to a text file -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    34
        <content xmlns="http://www.s60.com/xml/content/2">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    35
            <output flatten="true" dir="sis">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    36
                <input file="apps/app1.txt"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    37
            </output>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    38
        </content >
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    39
    </container>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    40
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    41
    <container condition="${Condition.Boolean}" value="false">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    42
        <!-- Print out the values to a text file -->
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    43
        <content xmlns="http://www.s60.com/xml/content/2">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    44
            <output dir="sis">
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    45
                <input>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    46
                  <include dir="apps" pattern="app2.txt"/>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    47
                </input>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    48
            </output>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    49
        </content >
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    50
    </container>
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    51
</container>