BI Publisher (MOSC)

MOSC Banner

using upper statement

edited Sep 5, 2014 5:01AM in BI Publisher (MOSC) 1 commentAnswered

I need to test on the Upper value of a string stored in an XML field (Name_ID4); if it's true then store value to variable Test.

The XDOFX:IF works fine with UPPER.  Since XDOFX and XSLT cannot be used together in the same statement it does not work.

How can do this if the UPPER statement is an XDOFX statement?

thanks,

RC

 

  

<?xdofx:if upper(Name_ID4)=’SOLD TO:’ then xdoxslt:set_variable($_XDOCTX, 'Test','RED') else ‘BLUE’ end if?>


  

  

<?xdoxslt:get_variable($_XDOCTX, 'Test')?>


  

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