Saturday 28 December 2013

XML Publisher Tags

Some useful tags in XML Publisher

1)<?start body?>
<?end body?>

Any content within the tags will come as body.The content above will be displayed as header and the content below will be
shown as footer.

2)<?split-by-page-break?>

The content below this tag will be pushed to the next page

3)<?if@column:column_name=value?> <?end if?>
Ex:<?if@column:empno=1234?> <?end if?>

A row or column can be displayed based on conditions using if-end tags.

4)<?position()?>

It can be used as alternative for serial number.

5)<?xdoxslt:sysdate("DD-MON-YYYY")?>

This tag is used to show the sysdate in format DD-MON-YYYY.

No comments:

Post a Comment