rougail/tests/dictionaries_old/10valid_enum_mandatory/00-base.xml

23 lines
617 B
XML
Raw Normal View History

<?xml version='1.0' encoding='UTF-8'?>
<rougail version="0.9">
<services/>
<variables>
<family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="string" description="No change">
<value>non</value>
</variable>
</family>
<family name="enumfam" mode="expert">
<variable name="enumvar" type="string" description="multi" mandatory="True"/>
</family>
</variables>
<constraints>
<check name="valid_enum">
<param>a</param>
<param>b</param>
<param>c</param>
<target>enumvar</target>
</check>
</constraints>
</rougail>