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

39 lines
1.0 KiB
XML
Raw Normal View History

2019-11-24 20:25:09 +01:00
<?xml version='1.0' encoding='UTF-8'?>
2019-11-23 08:17:35 +01:00
<creole>
<containers/>
<variables>
2019-11-24 20:25:09 +01:00
<family name="general" mode="expert">
<variable name="mode_conteneur_actif" type="oui/non" description="No change">
2019-11-23 08:17:35 +01:00
<value>non</value>
</variable>
</family>
2019-11-24 20:25:09 +01:00
<family name="enumfam" mode="expert">
<variable name="enumvar2" type="string" description="multi">
2019-11-23 08:17:35 +01:00
<value>c</value>
</variable>
2019-11-24 20:25:09 +01:00
<variable name="enumvar" type="string" description="multi">
2019-11-23 08:17:35 +01:00
<value>c</value>
</variable>
</family>
<separators/>
</variables>
<constraints>
<check name="valid_enum" target="enumvar">
<param>['a','b','c']</param>
</check>
<check name="valid_enum" target="enumvar2">
<param>['a','b','c']</param>
</check>
</constraints>
<help>
<variable name="enumvar">bla bla bla</variable>
</help>
</creole>
<!-- vim: ts=4 sw=4 expandtab
-->