rougail/tests/dictionaries/20family_dynamic_calc/00-base.xml

27 lines
831 B
XML

<?xml version="1.0" encoding="utf-8"?>
<rougail version="0.9">
<variables>
<family name='general'>
<variable name='varname' type='string' description="No change" multi="True">
<value>val1</value>
<value>val2</value>
</variable>
</family>
<family name='dyn' dynamic="varname">
<variable name='vardyn' type='string' description="No change">
<value>val</value>
</variable>
</family>
<family name='new'>
<variable name='newvar' type='string' description="No change"/>
</family>
</variables>
<constraints>
<fill name="calc_val">
<param type="variable">vardynval1</param>
<target>newvar</target>
</fill>
</constraints>
</rougail>