Hi All-
I'm hoping someone else has seen this problem before and has found a
solution. I am trying to preserve the white space in an fo:block (or any
other fo element). If I use white-space-collapse="false" it works almost
beautifully, except that the first line of my text is indented by about 5
letters. I've put the code and output i get below.
Thanks in advance,
-David Rosenstein
IMS Software
original element:
<ProcessingInstructions><![CDATA[Batch Size: 100
01 PPS #4762
02 SP.GR.- 0.8283
04 LB./GAL. - 6.899
06 %VOL. ALC.- 91.252
08 CONCENTRATE - 82%
10 PROPELLENT - 18%
12 PROPELLENT IS A-17 (100%)
* As Adjustment for Boil Loss, Suggest Adding:]]></ProcessingInstructions>
code:
<fo:block font-family="sans-serif" font-size="9pt" start-indent="3cm"
space-after.optimum="14pt" white-space-collapse="false">
<xsl:choose>
<xsl:when test="Processing">
<xsl:value-of select="Processing"/>
</xsl:when>
<xsl:otherwise>No Processing Instructions
listed.</xsl:otherwise>
</xsl:choose>
</fo:block>
output:
Batch Size: 100
01 PPS #4762
02 SP.GR.- 0.8283
04 LB./GAL. - 6.899
06 %VOL. ALC.- 91.252
08 CONCENTRATE - 82%
10 PROPELLENT - 18%
12 PROPELLENT IS A-17 (100%)
* As Adjustment for Boil Loss, Suggest Adding:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]