BI Publisher (MOSC)

MOSC Banner

Hide a 1x1 table using Conditional Routing when the field includes HTML

edited Feb 16, 2018 2:48PM in BI Publisher (MOSC) 13 commentsAnswered

I am trying to use Conditional Regions to hide a field when that field is null.  However, the XML entry contains HTML tags so the <?if:NOTE_UTD!=''?> is not working.

In my example, the XML file contains this entry:

<NOTE_UTD>&lt;html&gt;

  &lt;head&gt;

  

  &lt;/head&gt;

  &lt;body bgcolor=&quot;#ffffff&quot;&gt;

  &lt;/body&gt;

&lt;/html&gt;

</NOTE_UTD>

I'm using a template to render the HTML and also force a specific font and size.  Here is a sample:

<xsl:template name="NOTEUTD_HTML">

<fo:inline font-family="Calibri" font-size="9px">

<xsl:value-of select="xdoxslt:HTML2FO($_XDOXSLTCTX, (.//NOTE_UTD)[1], '')" disable-output-escaping="yes"/>

Tagged:

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