[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: xsl fo:block rendering issue

Subject: Re: xsl fo:block rendering issue
From: Betty Harvey <betty@xxxxxxxxxx>
Date: Wed, 11 Jun 2003 14:52:07 -0400 (EDT)
fo block new line
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.