エレメント - if

ifエレメントは、条件ロジックの追加に使用されます。
構文:

エレメント

属性

エレメント/属性/値に関するメモ

if

compare

文字列

 

 

value

文字列

 

 

operation

equal

デフォルト:

 

 

not_equal

 

 

goto

コンテンツ

指定のコンテンツ・セクションに移動します。


<if compare="{@page}" value="11" operation="equal" goto="additional"/>
 
<if compare="{@page}" value="12" operation="equal">
   <page/>
   <text x1="70" y1="300" width="100" height="20" value="some text"/>
</if>