BI Publisher (MOSC)

MOSC Banner

XSL - Multiple conditions in the same IF-END IF statement

edited Mar 25, 2013 3:58AM in BI Publisher (MOSC) 2 commentsAnswered ✓
Hi,I have created the following block of XSL code
<?if:D_TYPE_TEXT=/NUMCAPPLAN/CP_TEXT5?>
<?if:D_PERIOD2>100?>
<xsl:attribute
xdofo:ctx="block" name="background-color">red
</xsl:attribute>
<?end if?>
<?end if?>

I would like to know if the logic can be represented in a single IF-END IF statement, like below, which is not working (in an RTF template)
<?if:D_PERIOD2>100 AND D_TYPE_TEXT=/NUMCAPPLAN/CP_TEXT5?>
<xsl:attribute
xdofo:ctx="block" name="background-color">red
</xsl:attribute>
<?end if?>

I would like to know if this is possible and what the correct syntax is.
Thanks
Sanjay

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