This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Fwd: Over/under trimming of whitespace


> The bigger problem is that specifying the following 
> on a template rule that matches an element with whitespace
>   
> <fo:inline white-space-collapse="false"> </fo:inline>
> 
> becomes
> 
> <fo:inline white-space-collapse="false"/>
> 
> rendering this solution completely useless.
> 
> I tried adding:
> 
> <xsl:preserve-space elements="fo:inline" />
> 

Try 
<fo:inline white-space-collapse="false" xml:space="preserve"> </fo:inline>

or
<fo:inline white-space-collapse="false">
  <xsl:text> </xsl:text>
</fo:inline>

Michael Kay
Software AG
home: Michael.H.Kay@ntlworld.com
work: Michael.Kay@softwareag.com 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]