This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Inserting spaces in my FO Style Sheet
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] Inserting spaces in my FO Style Sheet
- From: DPawson at rnib dot org dot uk
- Date: Thu, 21 Jun 2001 08:30:50 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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.
I generally have
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
<!ENTITY sp "<xsl:text> </xsl:text">
]>
as the top end of my stylesheet, then I can use
<xsl:template match="whatever">
stuff more stuff
to get a simple seperator.
Perhaps for fo, the equivalent would be
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY sp "<fo:inline> </fo:inline>">
]>
HTH DaveP
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list