RE: [xsl] Inserting spaces in my FO Style Sheet

Subject: RE: [xsl] Inserting spaces in my FO Style Sheet
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 21 Jun 2001 18:02:11 +0100
At 09:31 PM 6/20/01, Linda wrote:
I tried to insert a space in my FO Style Sheet using the suggestion below
and it doesn't work.

If I insert a character and then a space <xsl:text> 1</xsl:text> - it
works - but not the space alone.

Mike's suggestion of <xsl:text> </xsl:text> really should work, but not all processors handle whitespace perfectly. Which processor are you using?

You could try <xsl:value-of select="' '"/> or <xsl:value-of select="'#32;'"/> or <xsl:value-of select="#160;"/> (if you wanted not a plain white space but a non-breaking space character).

Good luck,

Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.      
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
  Mulberry Technologies: A Consultancy Specializing in SGML and XML

XSL-List info and archive:

Current Thread