BI Publisher (MOSC)

MOSC Banner

Null tags in XML

edited Oct 29, 2014 11:04AM in BI Publisher (MOSC) 7 commentsAnswered

Hi,

I have few null tags in the XML file which is showing presented as below:

<TAX_CODE/>

Now in my template,

there is a group by option(group by DEVICE_ID) , then we have to put a check whether the TAX_CODE is null based on which a table is to be displayed.PFB the code:

<?for-each-group:DEVICES;./DEVICE_ID?><?if:contains(DEVICE_ID,'login')?><?if:TAX_CODE='null'?><?for-each:current-group()?>......

I have gone through the Oracle docs(Creating an RTF Template) and tried with the code

<?if:TAX_CODE and TAX_CODE=' '?> desired behavior <?end if?>

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