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

27 lines
841 B
XML

<?xml version="1.0" encoding="utf-8"?>
<rougail>
<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>
<condition name="hidden_if_in" source="newvar">
<param>non</param>
<target type="family">dyn</target>
</condition>
</constraints>
</rougail>