报表中@column和@inlines的用法与区别

@column的用法
根据条件显示或隐藏列
<?if@column:condition?>
……
<?end if?>

例:
<?if@column: /items/@type="PRIVATE"?>
<?quantity?>
<?end if?>

@inlines的用法
样板文本中使用IF语句
<?if@inlines:condition?>
……
<?end if?>

例:
The program was <?if@inlines:SUCCESS=’N’?>not<?end if?> successful
当SUCCESS=’N’时输出为:The program was not successful.
当SUCCESS=’Y’时输出为:The program was successful.

你可能感兴趣的:(column)