[Framers] White space in tables

Rick Quatro rick at rickquatro.com
Fri Jan 6 07:46:10 PST 2017


Before I forget, I am using FrameMaker 2015. I checked and RemoveExtraWhiteSpaceOnXMLImport is On. Thanks for the suggestion.

Apparently, it is the way the original xml is "formatted". If I change this:

<tr>
<td><p>January 1, 2017</p></td>
<td style="text-align: center;"><p>$10.50</p></td>
<td style="text-align: center;"><p>$10.00<br/>(current rate)</p></td>
</tr>

To this (the whole <tr>...</tr> one one line):

<tr><td><p>January 1, 2017</p></td><td style="text-align: center;"><p>$10.50</p></td><td style="text-align: center;"><p>$10.00<br/>(current rate)</p></td></tr>

I no longer get the extra white space. Note that with the former, I was only getting the extra white space inside the first <td> but not the other two.

I can get the desired result by using

<xsl:strip-space elements="tr"/>

in my stylesheet, but in my opinion, FrameMaker is being stupid with this behavior. There is no reason it should put the extra white space in the first column. Thanks.

Rick

From: Urszula Witherell [mailto:urszulawitherell at jetsetcom.net] 
Sent: Friday, January 06, 2017 10:30 AM
To: Rick Quatro; framers at lists.frameusers.com
Subject: Re: [Framers] White space in tables

You may want to check two places:
EDD Suffix rules that could add a space to <p> element
or
maker.ini line: RemoveExtraWhiteSpacesOnXMLImport=On
it may be Off

Best regards,
Urszula

On January 6, 2017 at 10:00 AM Rick Quatro <rick at rickquatro.com> wrote:
Hello and Happy New Year Framers,
I have xml with this basic structure for a table row:
<tr>
<td><p>January 1, 2017</p></td>
<td style="text-align: center;"><p>$10.50</p></td>
<td style="text-align: center;"><p>$10.00<br/>(current rate)</p></td>
</tr>
When I open this with FrameMaker, I get extra white space after the first
column's <p> text. The second and third columns display fine. As you can
see, there is no extra white space in my <td> or <p> elements. Any ideas on
where the extra white space comes from and how to prevent it? Thank you very
much.
Rick
Rick Quatro
Carmen Publishing Inc.
rick at frameexpert.com
585-366-4017
Do you lock your doors?
www.pornfree.solutions



More information about the Framers mailing list