XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


param (param-2.15) [xmmsas_20070308_1802-6.6.0]

Elements Elements CONFIG Home Index

Meta Index / Home Page / Developer's notes / Parameter specification file / Elements


CASE

parent:
PARAM
children:
list of ITEM elements
attributes:
none

A CASE element must contain a list of all possible values for this parameter. Currently, only parameters of type bool or string are allowed to contain a CASE element. If you do not specify any default value, the last ITEM found in the list is used as default value.

<PARAM id="color" type="string" default="red">
 <CASE>
 <ITEM value="red"/>
 <ITEM value="green"/>
 <ITEM value="blue"/>
 </CASE>
</PARAM>

Within a PARAM definition, you should not specify both CASE and CONSTRAINTS at the same time.



XMM-Newton SOC/SSC -- 2007-03-08