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

24 lines
679 B
XML

<?xml version='1.0' encoding='UTF-8'?>
<creole>
<containers/>
<variables>
<family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="oui/non" description="No change">
<value>non</value>
</variable>
</family>
<family name="enumfam" mode="expert">
<variable name="enumvar" type="string" description="multi" mandatory="True"/>
</family>
<separators/>
</variables>
<constraints>
<check name="valid_enum" target="enumvar">
<param>['a','b','c']</param>
</check>
</constraints>
</creole>
<!-- vim: ts=4 sw=4 expandtab
-->