c# - white space in xslt -


i'm trying generate report contains white spaces make content looks good. problem reason number of spaces being fixed or reduced in cases.

for example i've got content should this:

formatted text 1

but looks this

not formatted text 2

and xslt block this:

<fo:block   white-space-collapse="false"  usage-context-of-suppress-at-line-break="ignore">                           <xsl:variable name="report_text">                             <value>                               <xsl:value-of select="report_text" />                             </value>                           </xsl:variable>                            <xsl:value-of select="dataconvertobject:converttoplaintext($report_text)" />  </fo:block> 

any ideas? suggestions?

i found solution,

the problem each alphabet font i've chosen in different size i've changed font this:

 <fo:table-cell column-number="2" number-columns-spanned="5"  font-family="lucida console"  > 

and works fine


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -