rougail/tests/flattener_dicos/88valid_enum_not_number/00-base.xml
2019-11-24 20:25:09 +01:00

30 lines
759 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="number" description="enumvar"/>
</family>
<separators/>
</variables>
<constraints>
<check name="valid_enum" target="enumvar">
<param>[i for i in range(3, 13)]</param>
</check>
</constraints>
<help>
<variable name="enumvar">bla bla bla</variable>
</help>
</creole>
<!-- vim: ts=4 sw=4 expandtab
-->