rougail/tests/dictionaries/80valid_enum_multi_variable/00-base.xml

28 lines
826 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.10">
<variables>
<family name="general">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>a</value>
</variable>
<variable name="var" type="string" description="New variable" multi="True">
<value>a</value>
<value>b</value>
<value>c</value>
</variable>
<variable name="var2" type="string" description="New variable" multi="True">
<value>a</value>
<value>b</value>
<value>c</value>
</variable>
</family>
</variables>
<constraints>
<check name="valid_enum">
<param type="variable">var</param>
<param type="variable">var2</param>
<target>mode_conteneur_actif</target>
</check>
</constraints>
</rougail>