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

27 lines
807 B
XML

<?xml version="1.0" encoding="utf-8"?>
<rougail>
<variables>
<family name='general'>
<variable name='varname' type='number' description="No change" multi="True">
<value>1</value>
<value>2</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">vardyn1</param>
<target>newvar</target>
</fill>
</constraints>
</rougail>