BI Publisher – How to insert a CLOB data from a table into rtf Template- Inserting Images into rtf from tables

Often there are requirements of inserting Image files saved as CLOB data in the table, to be inserted into rtf Templates.

For doing this the data has to be selected in the Data Model.

Following tag has to be used.

<fo:instream-foreign-object content-type=”image/jpg”><xsl:value-of select=”.//IMAGE_FILE”/></fo:instream-foreign-object>

Where IMAGE_FILE is the name of the CLOB column


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s