At 10:25 15-10-2001, [EMAIL PROTECTED] wrote: >When I create a FO document with <fo:inline white-space-collapse="false"> ></fo:inline> I see that in my final document I can get two spaces to separate >certain items. But when I change the document to a xsl stylesheet with FO I >stops working.
No - it's working correctly, but there's a point about XSLT that you're missing. > <fo:block text-align="left" font-size="10pt" > line-height="10pt"> > This is a test.<fo:inline white-space- >collapse="false"> </fo:inline>This is anotherone! > </fo:block> XSLT has whitespace stripping rules. By default, any text node in the stylesheet that consists entirely of whitespace is stripped, unless it is a child of an <xsl:text> element. In this case, the content of the <fo:inline> is only whitespace, so it is stripped. If you run this XSLT on its own, you will see that the output document has <fo:inline white-space-collapse="false"></fo:inline> in it. See §3.4 of XSLT. In your stylesheet, do something like <fo:inline white-space-collapse="false"> <xsl:text> </xsl:text> </fo:inline> -Chris -- Christopher R. Maden, Principal Consultant, HMM Consulting Int'l, Inc. DTDs/schemas - conversion - ebooks - publishing - Web - B2B - training <URL: http://www.hmmci.com/ > <URL: http://crism.maden.org/consulting/ > PGP Fingerprint: BBA6 4085 DED0 E176 D6D4 5DFC AC52 F825 AFEC 58DA --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]