Tuesday 14 October 2014

Water Mark Text in XML Publisher report

This blog outlines the steps involved to 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:
<xsl:variable name="wMark" 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



























Text field should be <?$wMark?>

Note : It should Match with the Name Specified while Creating the Variable. 
Click on Apply
















Step 4:
Load xml data and see the preview  below



Output :




7 comments:

  1. hi! i'm doing a report like this, but, i'm having troubles with the watermark.
    in your example, are you printing only one document?
    because, i require to print several documents, but, the watermark only show the value for the first document, and it's printed in the other pages.
    do you have some idea for this?
    thanks a lot!

    ReplyDelete
    Replies
    1. Oracle Masterminds: Water Mark Text In Xml Publisher Report >>>>> Download Now

      >>>>> Download Full

      Oracle Masterminds: Water Mark Text In Xml Publisher Report >>>>> Download LINK

      >>>>> Download Now

      Oracle Masterminds: Water Mark Text In Xml Publisher Report >>>>> Download Full

      >>>>> Download LINK 2Y

      Delete
  2. Nice blog about punchout XML, it's being great to read this.
    Punchout CXML Catlog

    ReplyDelete
  3. Vurbis Interactive used punchout cxml protocol developed by Ariba which helps for online shopping and ordering between e-procurement systems.
    PunchOut cXML

    ReplyDelete
  4. i have tried above solution, getting error as oracle.xdo.XDOException: oracle.xdo11g.xpath.XPathException: Variable not defined: 'wMark'. Please help

    ReplyDelete
  5. جزاك الله خيرا
    Many thanks

    ReplyDelete
  6. Oracle Masterminds: Water Mark Text In Xml Publisher Report >>>>> Download Now

    >>>>> Download Full

    Oracle Masterminds: Water Mark Text In Xml Publisher Report >>>>> Download LINK

    >>>>> Download Now

    Oracle Masterminds: Water Mark Text In Xml Publisher Report >>>>> Download Full

    >>>>> Download LINK WH

    ReplyDelete