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

30 lines
993 B
XML
Raw Normal View History

2020-12-24 19:53:49 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2021-02-18 18:57:50 +01:00
<rougail version="0.9">
2020-12-24 19:53:49 +01:00
<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">
2020-12-24 19:53:49 +01:00
<param type="variable">var</param>
<param type="variable">var2</param>
<target>mode_conteneur_actif</target>
2020-12-24 19:53:49 +01:00
</check>
</constraints>
</rougail>
<!-- vim: ts=4 sw=4 expandtab
-->