Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

DTL <default>

<switch> 要素内のどの <case> 要素も真に評価されない場合、内容を実行します。

構文

<switch>
   <case condition="1">
   ...
   </case>
   <default>
   ...
   </default> 
</switch>

属性

なし

要素

要素 目的
<annotation> オプション。<default> 要素について記述するテキスト文字列。

説明

<default> 要素は <switch> 要素の末尾に記され、どの <case> 要素も真に評価されない場合に実行されます。

FeedbackOpens in a new tab