WHEN I CHANGED IT TO PRESERVE AS BELOW:
<fo:table-cell>
      <fo:block>
        <xsl:attribute
name="white-space-collapse">preserve</xsl:attribute>
        <xsl:value-of select="item"/>
      </fo:block>
    </fo:table-cell>


I GOT THE FOLLOWING ERROR:
SEVERE: Ignoring property: white-space-collapse="preserve" (No
conversion defined preserve; property:'white-space-collapse')
Aug 8, 2008 4:45:39 PM org.apache.fop.fo.PropertyList
convertAttributeToProperty 


Jeff Steffanina
FOSSE Development,  Bethesda, MD
(301)380-2047
[EMAIL PROTECTED]

    This communication contains information from Marriott International,
Inc. that may be confidential. Except for personal use by the intended
recipient, or as expressly authorized by the sender, any person who
receives this information is prohibited from disclosing, copying,
distributing, and/or using it. If you have received this communication
in error, please immediately delete it and all copies, and promptly
notify the sender. Nothing in this communication is intended as an
electronic signature under applicable law.


-----Original Message-----
From: Andreas Delmelle [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 08, 2008 4:39 PM
To: [email protected]
Subject: Re: Fop-0.95 - Table questions

On Aug 8, 2008, at 21:57, Steffanina, Jeff wrote:

Hi
> TABLE ISSUE  I
> The column "ItemDesc" is left aligned.  BUT on occasion, the  
> ItemDesc begins with 4 leading spaces.  In my output .PDF, the  
> leading spaces are always removed.
>
> How can I force the leading spaces in the ItemDesc to be included  
> in the output?  Here is what I currently have for the field:
>
> <fo:table-cell>
>       <fo:block>
>         <xsl:attribute name="white-space-collapse">false</ 
> xsl:attribute>
>

Try adding:
   <xsl:attribute name="white-space-treatment">preserve</xsl:attribute>

This will effectively preserve any white-space, including spaces  
surrounding line-breaks.


HTH!

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to