BI Publisher (MOSC)

MOSC Banner

xsl:when test access the XML

edited Apr 1, 2015 10:04AM in BI Publisher (MOSC) 2 commentsAnswered

I'm trying to use the following but when the node G_MAIN/JRNL_CURRENCY_CODE in the XML is 'STAT' the expression does not evaluate to true. 

<xsl:variable name="fm"><xsl:choose><xsl:when test="G_MAIN/JRNL_CURRENCY_CODE='STAT'"><xsl:vallue-of select="'999G990D99999'"/></xsl:when><xsl:otherwise><xsl:value-of select="'999G990D99'"/></xsl:otherwise></xsl:choose></xsl:variable>

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