[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] xsl fo:block rendering issue


Subject: Re: [xsl] xsl fo:block rendering issue
From: Betty Harvey <betty@xxxxxxxxxx>
Date: Wed, 11 Jun 2003 14:52:07 -0400 (EDT)

I am not sure why you are using 2 <fo:block>s.  If
you want two different styles for 'aaa' and 'bbb',
then use:

<fo:table-cell>
  <fo:block>
     <fo:inline>aaa</fo:inline>
     <fo:inline>bbb</fo:inline>
  </fo:block>
</fo:table-cell>

  Otherwise use:

<fo:table-cell>
  <fo:block>aaabbb
  </fo:block>
</fo:table-cell>

<fo:block> will always give you a new line.

Hope this helps!

Betty

On Wed, 11 Jun 2003, Mark Ivs wrote:

> I have 2 fo:block elements inside my table cell and I
> want those to render one after the other.
> 
> Example:
> <fo:table-cell>
> <fo:block>aaa</fo:block><fo:block>bbb</fo:block>
> </fo:table-cell>
> 
> Desired output:
> aaabbb
> 
> But the output I am seeing:
> aaa
> bbb
> 
> 'bbb' goes to the next line. The table cell has enough
> width to hold both side by side. So I am not sure
> what's causing it to render 'bbb' in the next line.
> 
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
Betty Harvey                         | Phone: 410-787-9200 FAX: 9830 
Electronic Commerce Connection, Inc. |        
harvey@xxxxxxxxxx                    | Washington,DC XML Users Grp
URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\\/\/  


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml