rougail/tests/dicos/disabled/99_disabled.xml

40 lines
928 B
XML

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