Fairly simple formatting problem w/ XSL FO's

Subject: Fairly simple formatting problem w/ XSL FO's
From: Teemu Ropponen <troppone@xxxxxxxxxx>
Date: Thu, 19 Aug 1999 10:52:43 +0300 (EET DST)
Hi,

While trying to convert some XML + XSL -> HTML into XML+XSL -> XSL
FO's, a problem (which I'd say is very common) came up. I want the
final result to look like :

			__________________
This is some text	|		  |
that should come	|  AN IMAGE	  |
right here next to	|		  | 
the image.......	|_________________| 


A couple of possibilities of expressing this came to mind :

-------------------------------
<fo:block>
  <fo:inline-included-container>	
    This is some text	
  </fo:inline-include-container>	
  <fo:inline-graphic href="..." ...  />	
</fo:block>
---------------------------------
<fo:table>
  <fo:table-row>
    <fo:table-cell>
	This is some text
    </fo:table-cell>
    <fo:table-cell>
	<fo:display-graphic href="..." ... />
    </fo:table-cell>   
  <fo:table-row>
<fo:table>  
----------------------------------

Now the second possibility seems just a bit cumbersome for such a simple
formatting procedure, and the first one kind of "misuses" the
inline-included-container flow object
("inline-included-container...typically containing text blocks with a
different writing-mode")...

Any ideas ?? Have I read the spec poorly, not having noticed an obvious
solution ???

Thanks,

Teemu Ropponen					troppone@xxxxxxxxxx
student/research assistant
Telecom. Software and Multimedia Lab.		http://www.tcm.hut.fi
Helsinki University of Technology, Finland	http://www.hut.fi


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


Current Thread