Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pdf printing using xsl-fo and ORD (formating issue with CLOB column)

ICeTNov 17 2017 — edited Nov 17 2017

Hi,

  I've created a pdf using xsl-fo in oracle apex. One of the fields I need to display on the pdf is a CLOB. The text is already stored in the clob in a nice format (white space and new lines).

I've created a page item with type "text area" and I can see the text is still formatted nicely on the apex page. In my .xsl file I am using the code below to extract the data into the pdf. The problem is the text displayed in the pdf has no format(all white spaces and new lines are removed). How can I preserve the format when I call my pdf report?

I am working with Apex 5.1 and db 12rc

<fo:table-row>

   <fo:table-cell text-align="left" padding="2pt" >

       <fo:block>

           <fo:inline font-weight="normal" padding-left="10pt">

                <xsl:value-of select="/DOCUMENT/P610_CLOB_PDF"/>

           </fo:inline>

       </fo:block>

   </fo:table-cell>

</fo:table-row>

Appreciate any help!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 15 2017
Added on Nov 17 2017
3 comments
437 views