rougail/tests/dictionaries_old/80family_dynamic_check/00-base.xml

22 lines
640 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="number" description="No change"/>
</family>
</variables>
<constraints>
<check name="valid_entier">
<param name="mini" type="number">0</param>
<param name="maxi" type="number">100</param>
<target>vardynval1</target>
</check>
</constraints>
</rougail>