xsl-fo and linefeed-treatment
Posted: Sat Jun 13, 2009 4:51 am
I have looked through the previous postings and could not quite find the answer to my question so here it is. It seems like a basic xsl-fo operation so I'm sure someone can help.
I am using the Apache FOP processor that was supplied with Oxygen 10.2
In my XML file I have a <Comment> field that contains several paragraphs of information seperated by (U+000A) linefeeds.
My xsl-fo file has the following block statement -
In the result .pdf the paragraphs have all run together. It is like the linefeed-treatment statement has no effect. What am I missing?
Thanks in advance,
Sean
I am using the Apache FOP processor that was supplied with Oxygen 10.2
In my XML file I have a <Comment> field that contains several paragraphs of information seperated by (U+000A) linefeeds.
My xsl-fo file has the following block statement -
Code: Select all
<fo:block text-align="justify" line-height="1.1" font="12pt Calibri" font-weight="normal" linefeed-treatment="preserve" white-space-collapse="false" wrap-option="wrap" white-space-treatment="preserve" space-after="0.3in">
<xsl:value-of select="//Inspection[position()=1]/Comment"/>
</fo:block>
Thanks in advance,
Sean