BI Publisher (MOSC)

MOSC Banner

Oracle XML Publisher Admin - Modifying a template

edited Feb 25, 2016 4:03AM in BI Publisher (MOSC) 2 commentsAnswered

We have a check template that I am trying to modify with the following logic

Pseudo logic:    When paymentstatus/code = ‘VOID_BY_OVERFLOW’ print *VOID* else when Addressee is not null print Addressee, otherwise print Name


Current Logic

<?xdofx:if ../PaymentStatus/Code = 'VOID_BY_OVERFLOW' then '****** VOID ******'  else ../Payee/Name end if?>


I have tried the below options but neither work.   Option 1 is close but it does not recognize Addressee having a value.

Option 1

<?xdofx:if../PaymentStatus/Code='VOID_BY_OVERFLOW'then'*VOID*'elseif ../Payee/Address/Addressee=null then ../Payee/Name else ../Payee/Address/Addressee end if?>

Option 2

<xsl:choose>

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