rougail/tests/dicos/mandatory/01_mandatory.xml

36 lines
858 B
XML

<?xml version="1.0" encoding="utf-8"?>
<creole>
<files/>
<containers/>
<variables>
<family name='test'>
<variable name='mandatory_if'/>
<variable name='mandatory_ifnot'/>
<variable name='active_mandatory' type='oui/non'>
<value>non</value>
</variable>
</family>
<separators/>
</variables>
<constraints>
<condition name='mandatory_if_in' source='active_mandatory'>
<param>oui</param>
<target type='variable'>mandatory_if</target>
</condition>
<condition name='mandatory_if_not_in' source='active_mandatory'>
<param>non</param>
<target type='variable'>mandatory_ifnot</target>
</condition>
</constraints>
<help/>
</creole>
<!-- vim: ts=4 sw=4 expandtab
-->