This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Fwd: Over/under trimming of whitespace
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 25 Apr 2002 23:29:07 +0100
- Subject: RE: [xsl] Fwd: Over/under trimming of whitespace
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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