configurationengine/source/plugins/common/ConeRulePlugin/ruleplugin/tests/ruleproject/rules/implml/container_with_rules.ruleml
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

<?xml version="1.0" encoding="UTF-8"?>
<container xmlns="http://www.symbianfoundation.org/xml/implml/1">
    <container>
        <phase name="pre"/>
        <rules:ruleml xmlns:rules="http://www.s60.com/xml/ruleml/3">
          <rules:rule>{% dummy_function(${imakerapi.PRODUCT_NAME}) %} configures ${imakerapi.PRODUCT_NAME} = "test product"</rules:rule>
          <rules:rule>${imaker.imagetarget} configures ${imakerapi.outputLocation} = ${imaker.imagetarget}</rules:rule>
          <rules:rule>True configures ${StringConcatenationTest.Result1} = "Test " + "test"</rules:rule>
          <rules:rule>True configures ${StringConcatenationTest.Result2} = ${StringConcatenationTest.Value1} + " Literal 2"</rules:rule>
          <eval_globals>
def dummy_function(ref):
    return ref
        </eval_globals>
        </rules:ruleml>
    </container>
    <container>
        <phase name="normal"/>
        <rules:ruleml xmlns:rules="http://www.s60.com/xml/ruleml/3">
          <rules:rule>True configures ${StringConcatenationTest.Result3} = "Literal 1 " + ${StringConcatenationTest.Value2}</rules:rule>
          <rules:rule>True configures ${StringConcatenationTest.Result4} = ${StringConcatenationTest.Value1} + ${StringConcatenationTest.Value2}</rules:rule>
          <rules:rule>True configures ${StringConcatenationTest.Result5} = ${StringConcatenationTest.Value1} + " &amp; " + ${StringConcatenationTest.Value2}</rules:rule>
          <rules:rule>True configures ${StringConcatenationTest.Result6} = ${StringConcatenationTest.Value1} + u" € カタカナ"</rules:rule>      
        </rules:ruleml>
    </container>
</container>