Blog / Oracle Application Blog
Water Mark Text in XML Publisher report
This blog outlines the steps involved to
include the Watermark Text to XML reports.
include the Watermark Text to XML reports.
Let’s assume a base template as below
:
:
Step
1:
Create a xml tag for the watermark text
Step
2:
Create variable inside xml tag as follows
xsl:variable name=”wMark”
After variable give condition based on requirement
For
example:
example:
<xsl:variable name=”wMark”
select=”xdoxslt:ifelse(.//G_ERROR/MSG!=’N’,’Error : Missing of Item Description ‘,”) “/>
select=”xdoxslt:ifelse(.//G_ERROR/MSG!=’N’,’Error : Missing of Item Description ‘,”) “/>
Step 3:
Create a custom watermark and select radio
button as Text watermark
Page Layoutà
watermarktext
watermarktext
Text
field should be <?$wMark?>
Note
: It should Match with the Name Specified while Creating the Variable.
: It should Match with the Name Specified while Creating the Variable.
Click
on Apply
on Apply
Step
4:
Output :









