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. Thanks Leena leena.s@xxxxxxxxxxxxxxxxxxx <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version='1.0'> <xsl:output method="text" indent="no"/> <xsl:template match="DocGenJob"> <fo:root> <fo:layout-master-set> <fo:simple-page-master master-name="mainPage" page-height="300mm" page-width="20cm"> <fo:region-body region-name="xsl-region-body" text-align="start"/> <fo:region-before region-name="xsl-region-before" extent="20mm"/> <fo:region-after region-name="xsl-region-after" extent="20mm"/> </fo:simple-page-master> </fo:layout-master-set> <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 ref-id="content_terminator"/> </fo:block> </fo:static-content> <fo:flow flow-name="xsl-region-body" text-align="start"> <fo:block> </fo:block>. <fo:block text-align="start" space-before="6pt"> <xsl:text>Testing the data for Exta spaces </xsl:text> </fo:block> <fo:block id="content_terminator"/> </fo:flow> </fo:page-sequence> </fo:root> </xsl:template> </xsl:stylesheet> ********************************************************************* 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Choosing different sorts, Jarno.Elovirta | Thread | [xsl] generating an HTML web hiera, Arulraj |
Re: [xsl] Learning Tool for XPath?, Emmanouil Batsis | Date | RE: [xsl] Learning Tool for XPath?, Robert Soesemann |
Month |