[xsl] Getting Extra space while converting to Text using XSLT FO

Subject: [xsl] Getting Extra space while converting to Text using XSLT FO
From: Leena Sharma <leena.s@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 Jul 2004 12:19:08 +0530
Hi ALl,
I am giving Text in my XSL in <fo:block> and doing that XSLT to generate
Text file. But its giving extra space in between the words.
This is also not consistent between all words. How to over come this
problem? Below is formatting file which I am using.
I have posted this earlier but its not coming in list.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
<xsl:output method="text" indent="no"/>
    <xsl:template match="DocGenJob">
                 <fo:simple-page-master master-name="mainPage"
                     page-height="300mm" page-width="20cm">
                     <fo:region-body region-name="xsl-region-body"
                     <fo:region-before region-name="xsl-region-before"
                     <fo:region-after region-name="xsl-region-after"

             <fo:page-sequence master-reference="mainPage">
             <fo:static-content flow-name="xsl-region-before">
  		  <fo:block text-align="right">
		    page  <fo:page-number/> of <fo:page-number-citation
		<fo:flow  flow-name="xsl-region-body" text-align="start">
			<fo:block text-align="start" space-before="6pt">
			<xsl:text>Testing the data for Exta spaces

                     <fo:block id="content_terminator"/>    

Disclaimer: The information in this e-mail and any attachments is
confidential / privileged. It is intended solely for the addressee or
addressees. If you are not the addressee indicated in this message, you may
not copy or deliver this message to anyone. In such case, you should destroy
this message and kindly notify the sender by reply email. Please advise
immediately if you or your employer does not consent to Internet email for
messages of this kind.

Current Thread