BI Publisher (MOSC)

MOSC Banner

How to add X days to a date in ETEXT template

in BI Publisher (MOSC) 3 commentsAnswered ✓

Hello,

I am creating an ETEXT template where I have no control of the data definition so have to work with what I get in XML output.

Following is part of the template where I have two date fields - creation date and expiration date:

The source of creation date is InstructionInfo/InstructionCreationDate and this works fine but for exparation date I would like to add x days to InstructionInfo/InstructionCreationDate. Is this achievable in ETEXT template? N.B. I cant change the source data.


You can see in the screenshot that I have tried using xpath function date-time-add-days but this did not work (not that it produced any errors but the output was not what I expected).

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center